I set up the sendmail in my perosnal home lab. I am using mutt to send the email in between the machines. Everything is working fine if i send email like <username>@<hostname>. Now i set up the MX record for my domain "home.com" and then i was trying to send the email to like firstname.lastname@example.org
, but in this case as soon as i press "Y" to send the email in mutt; i get this error
Error sending message, child exited 67 (User unknown.)
Even in the sendmail logs it shows user known. I know that my sendmail was not configured to accept message from the domain home.com, so i added the home.com to /etc/mail/local-host-names file but still this error remains. It is weird and i assume i should get a delivery failure with something saying like "relaying rejected"
So can anyone please help me figuring out what is going on here ?>