On Sun, Jun 15, 2003 at 05:44:40PM +0200, Tony Earnshaw wrote: > I'll do a trade with you ("swap you this for that"). You tell me how > you'd whitelist a given ldap alias list with Sendmail, and I'll tell you > how I'd do it with SA-Exim 4.20/3.0 and with Postfix 2.0.12 (dunno yet, > cos I never tried, but it has to be possible.)
Depends how your sendmail is routing via spamassassin. Milter? MailScanner? procmail? Is there an external routing host or are you just filtering everything on the local host? If you want something which works across _all_ designs you'd have to do something like this: HFrom: $>CheckWhitelist HX-Whitelist: $>RejectIncomingWhitelist HX-Whitelist: $&(WhitelistLevel) SCheckWhitelist ... set WhitelistLevel based on an LDAP map class, 0 if no match ... SRejectIncomingWhitelist R$* $#error 553 X-Whitelist must not be set on incoming mail Then in SA, based on the whitelist header, subtract from the score. > The people who'll benefit > are the developers, who would then know that they wouldn't have to > change any code to do it. Mind you, there's still Qmail and Smail left - > those people would have to do the same. Just because you *can* do it in the MTA doesn't mean it *belongs* in the MTA. David. -- David Luyer Phone: +61 3 9674 7525 Network Development Manager P A C I F I C Fax: +61 3 9698 4825 Pacific Internet (Australia) I N T E R N E T Mobile: +61 4 1111 BYTE http://www.pacific.net.au/ NASDAQ: PCNTF ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk