On 4/17/2014 9:55 AM, Denny Fuchs wrote: > hi, > > Am 17.04.2014 um 15:21 schrieb Noel Jones <njo...@megan.vbhcs.org>: > >> Typically in your situation one would use relayhost, with >> transport_maps overrides for internal destinations that are directly >> reachable. > > thanks @all for debugging ... I think, is is simply broken, what the > maintainer of the zone does. Is there a way to check for so such broken DNS > configurations? > > cu denny >
You can use http://www.postfix.org/postconf.5.html#check_recipient_mx_access to reject mail addressed to domains with bogus MX records. Something like: # main.cf smtpd_sender_restrictions = check_recipient_mx_access hash:/etc/postfix/bogus_mx ... other existing restrictions ... # bogus_mx 127.0.0.1 REJECT bogus localhost MX record -- Noel Jones