Sendmail reject trumps whitelist?

Brett Charbeneau brett at
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 by sticking this line in my
BC> >
BC> > > file:
BC> > >
BC> > > FEATURE(`dnsbl',`',`"554 Rejected " $&{client_addr} > "
BC> > > BLACKLISTED found in"')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" and and let mailscanner deal
BC> > with what is spam or not for those two domains
BC> 	Ah, so!
BC> 	Good idea, Res - many thanks. Sendmail took my
BC> Spam:*		FRIEND
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:*               FRIEND

	should *really* be               FRIEND

	to allow mail to get past the sendmail 554 rejection.

Brett Charbeneau
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
Williamsburg, VA 23188-7064
(757)259-4079 (fax)    brett at

More information about the MailScanner mailing list