Sendmail reject trumps whitelist?

Brett Charbeneau brett at wrl.org
Mon Nov 20 14:25:27 GMT 2006


On Fri, 17 Nov 2006, Brett Charbeneau wrote:

BC> > > Greetings all,
BC> > >
BC> > >       I've set up sendmail to reject incoming messages with a 554 error
BC> > if
BC> > > they are listed in dnsbl.sorbs.net by sticking this line in my
BC> > sendmail.mc
BC> > > file:
BC> > >
BC> > > FEATURE(`dnsbl',`dnsbl.sorbs.net',`"554 Rejected " $&{client_addr} > "
BC> > > BLACKLISTED found in dnsbl.sorbs.net"')dnl
BC> > >
BC> > >       Now this list tends to get mad a AOL and Hotmail mail servers for
BC> > > obvious reasons and therefore ALL mail from these domains, legit or not, 
BC> > 
BC> > Have sendmail "OK" aol.com and hotmail.com and let mailscanner deal
BC> > with what is spam or not for those two domains
BC> 
BC> 	Ah, so!
BC> 	Good idea, Res - many thanks. Sendmail took my
BC> 
BC> Spam:*aol.com		FRIEND
BC> 
BC> 	so I think I'm in business.
BC> 	Thanks to all who offered suggestions and ideas!

	For posterity: turns out the sendmail access database does NOT support 
wildcards. So the entry above

Spam:*aol.com               FRIEND

	should *really* be

Spam:@aol.com               FRIEND

	to allow aol.com mail to get past the sendmail 554 rejection.

-- 
********************************************************************
Brett Charbeneau
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
Williamsburg, VA 23188-7064
(757)259-4044          www.wrl.org
(757)259-4079 (fax)    brett at wrl.org
********************************************************************



More information about the MailScanner mailing list