I am trying to set up sendmail for my server to send alert notification status. After searching for guides on the internet, I am still unable to send outgoing emails to my work email. from what I've read, sendmail doesn't need any configuration to send out emails. I've checked the outgoing port 25, configured the DNS, and edited the hostname but have not succeeded. This is the failed email response I got. From what I can see, it cannot find the recipient of the email. what else that i need to change to make it successful?
From: Mail Delivery Subsystem <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="3651ovxS001207.1688521876/company.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--3651ovxS001207.1688521876/company.com
The original message was received at Wed, 5 Jul 2023 01:50:57 GMT
from root@localhost
----- The following addresses had permanent fatal errors -----
[email protected]
(reason: 550 5.1.1 <[email protected]>... User unknown)
(expanded from: [email protected])
----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> DATA
<<< 550 5.1.1 <[email protected]>... User unknown
550 5.1.1 [email protected]... User unknown
<<< 503 5.0.0 Need RCPT (recipient)
--3651ovxS001207.1688521876/company.com
Content-Type: message/delivery-status
Reporting-MTA: dns; company.com
Arrival-Date: Wed, 5 Jul 2023 01:50:57 GMT
Final-Recipient: RFC822; [email protected]
Action: failed
Status: 5.1.1
Remote-MTA: DNS; [127.0.0.1]
Diagnostic-Code: SMTP; 550 5.1.1 <[email protected]>... User unknown
Last-Attempt-Date: Wed, 5 Jul 2023 01:51:16 GMT
--3651ovxS001207.1688521876/company.com
Content-Type: message/rfc822
Return-Path: <root>
Received: (from root@localhost)
by company.com (8.15.2/8.15.2/Submit) id 3651ovxR001207
for [email protected]; Wed, 5 Jul 2023 01:50:57 GMT
Date: Wed, 5 Jul 2023 01:50:57 GMT
From: root <root>
Message-Id: <[email protected]>
Subject: Test email
Test email from linode
--3651ovxS001207.1688521876/company.com--