{"id":525,"date":"2013-09-25T13:33:29","date_gmt":"2013-09-25T11:33:29","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=525"},"modified":"2013-09-25T13:33:29","modified_gmt":"2013-09-25T11:33:29","slug":"sendmail-5-6-0-dsn-data-format-error","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=525","title":{"rendered":"Sendmail: 5.6.0 DSN data format error"},"content":{"rendered":"<p>\n\tI had a problem with a local webserver when sending out email through php to an internet mail server which accepted only valid domain names resolvable by dns. You can masquerade the local domain\/server name by enabling following lines in \/etc\/mail\/sendmail.mc\n<\/p>\n<p>\n\tMASQUERADE_AS(`mydomain.com&#39;)dnl<br \/>\n\tFEATURE(`masquerade_envelope&#39;)dnl<br \/>\n\tFEATURE(masquerade_entire_domain)dnl\n<\/p>\n<p>\n\tand recompile your sendmail.cf:\n<\/p>\n<p>\n\t<em># m4 \/etc\/mail\/sendmail.mc &gt; \/etc\/mail\/sendmail.cf<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a problem with a local webserver when sending out email through php to an internet mail server which accepted only valid domain names resolvable by dns. You can masquerade the local domain\/server name by enabling following lines in \/etc\/mail\/sendmail.mc MASQUERADE_AS(`mydomain.com&#39;)dnl FEATURE(`masquerade_envelope&#39;)dnl FEATURE(masquerade_entire_domain)dnl and recompile your sendmail.cf: # m4 \/etc\/mail\/sendmail.mc &gt; \/etc\/mail\/sendmail.cf<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-525","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=525"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/525\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}