On Fri, Jan 29, 2010 at 12:22:53PM -0600, Noel Jones wrote: > > On 1/29/2010 11:57 AM, Dan Lists wrote: > > > >smtpd_recipient_restrictions = > > reject_non_fqdn_recipient, > > reject_unknown_recipient_domain, > > permit_mynetworks, > > reject_unauth_destination > >unknown_address_reject_code = 550 > > > > $ host monsant.com > Host monsant.com not found: 2(SERVFAIL) > > This is a temporary error. The name server for monsant.com > could not be contacted. You don't know if the domain exists > or not. "whois" shows this domain does exist, but the listed > name servers return an error rather than an authoritative > NXDOMAIN. > > $ host asdf.gmail.com > Host asdf.gmail.com not found: 3(NXDOMAIN) > > This domain does not exist. > > Postfix will always respond with a 450 defer when it can't > find out if a domain exists or not.
atleast in postfix stable, specifying unknown_address_reject_code=550 works no matter if servfail or nx. maybe 2.7 makes now distinctions between different dns error replies? > > Don't confuse temporary errors (you don't know if the domain > exists or not) with permanent errors (domain definitely does > not exist). > > If you want to help out fat-fingered users, you can add > frequently misspelled domains to your transport table. > Note: these domains exist, but they don't respond to email. > > hotmial.com error:5.1.2 hotmail.com not hotmial.com > hotmai.com error:5.1.2 hotmail.com not hotmai.com > cherter.net error:5.1.2 try "charter.net" instead > monsant.com error:5.1.2 monsanto.com not monsant.com > > Changing postfix behavior to immediately return mail on > temporary errors would be a mistake. > > -- Noel Jones -- adrian ilarion ciobanu adria...@ciobanu.name http://pub.mud.ro/~cia +40 788 319 497