{"id":2898,"date":"2012-12-25T11:50:52","date_gmt":"2012-12-25T15:50:52","guid":{"rendered":"http:\/\/www.databook.bz\/?page_id=2898"},"modified":"2014-03-23T09:08:52","modified_gmt":"2014-03-23T13:08:52","slug":"553-5-1-8-domain-of-sender-address-does-not-exist","status":"publish","type":"page","link":"http:\/\/www.linux-databook.info\/?page_id=2898","title":{"rendered":"SendMail Error Message: 553 5.1.8 &#8230; Domain of sender address &#8230; does not exist"},"content":{"rendered":"<p>When working with SendMail for intranet environments, you may run into the following type of 553 5.1.8 error. This is an example from my own email system but with the domain name changed.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<blockquote><p>&#8212;&#8211; The following addresses had permanent fatal errors &#8212;&#8211;<\/p>\n<p><a href=\"mailto:david@both.org\">&lt;david@example.org&gt;<\/a> (reason: 553 5.1.8 <a href=\"mailto:david@both.org\">&lt;david@example.org&gt;<\/a>&#8230; Domain of sender address <a href=\"mailto:root@alice1.both.org\">root@alice1.example.org<\/a> does not exist)<\/p>\n<p>&#8212;&#8211; Transcript of session follows &#8212;&#8211;<\/p>\n<p>&#8230; while talking to bunkerhill.example.org.:<\/p>\n<p>DATA<\/p>\n<p>&lt;&lt;&lt; 553 5.1.8 <a href=\"mailto:david@both.org\">&lt;david@example.org&gt;<\/a>&#8230; Domain of sender address <a href=\"mailto:root@alice1.both.org\">root@alice1.example.org<\/a> does not exist 550 5.1.1 <a href=\"mailto:david@both.org\">&lt;david@example.org&gt;<\/a>&#8230;<\/p>\n<p>User unknown &lt;&lt;&lt; 503 5.0.0 Need RCPT (recipient)<\/p><\/blockquote>\n<div lang=\"x-western\">\n<blockquote><p>Reporting-MTA: dns; alice1.example.org Received-From-MTA: DNS;<\/p>\n<p>localhost Arrival-Date: Tue, 25 Dec 2012 04:06:48 -0500<\/p>\n<p>Final-Recipient: RFC822; <a href=\"mailto:david@both.org\">david@example.org<\/a><\/p>\n<p>Action: failed Status: 5.1.8<\/p>\n<p>Remote-MTA: DNS; bunkerhill.example.org<\/p>\n<p>Diagnostic-Code: SMTP;<\/p>\n<p>553 5.1.8 <a href=\"mailto:david@both.org\">&lt;david@example.org&gt;<\/a>&#8230; Domain of sender address <a href=\"mailto:root@alice1.both.org\">root@alice1.example.org<\/a> does not exist<\/p>\n<p>Last-Attempt-Date: Tue, 25 Dec 2012 04:07:07 -0500<\/p><\/blockquote>\n<\/div>\n<hr \/>\n<p>This type of error can occur when email is sent by cron jobs or other internal tasks running on hosts inside your network, and you have your own sendmail based email server. It happens because email sent from Linux hosts by cron jobs is sent as <em>root@host.domain.com<\/em> and the hostname is causing the email server to read it as a non-existent domain.<\/p>\n<p>Adding these hostnames to your DNS does not resolve the problem.<\/p>\n<p>You must add your own domain&#8217;s equivalent of the following lines to the \/etc\/mail\/domaintable database file.<\/p>\n<pre>*.example.org\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 example.org<\/pre>\n<p>Then run make (with \/etc\/mail as the PWD) and restart sendmail.<\/p>\n<p>That entry in the domaintable database converts all domain names that have the form host.example.org to the true domain name of example.org thus allowing sendmail to recognize the domain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When working with SendMail for intranet environments, you may run into the following type of 553 5.1.8 error. This is an example from my own email system but with the domain name changed. &nbsp; &#8212;&#8211; The following addresses had permanent&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.linux-databook.info\/?page_id=2898\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1790,"menu_order":3,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2898","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/2898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2898"}],"version-history":[{"count":11,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/2898\/revisions"}],"predecessor-version":[{"id":4063,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/2898\/revisions\/4063"}],"up":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/1790"}],"wp:attachment":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}