One way to bypass spamassassin based on the envelope-sender (i.e. the 
return-path), is to use amavisd-new.

An interface between mailer (MTA) and one or more content checkers: virus 
scanners, and/or Mail::SpamAssassin Perl module.
http://www.ijs.si/software/amavisd/

Thats my lines for real bypassing THIS list for spamassassin:

/etc/amavisd.conf


### ENVELOPE SENDER WHITELISTING / BLACKLISTING - GLOBAL
### (RECIPIENT-INDEPENDENT)

@whitelist_sender_maps = (
  new_RE( 
### ONE LINE -->
qr'^users-return-[0-9]
[EMAIL PROTECTED]'i,
### <-- ONE LINE
qr'^...........$'i,
qr'^.......... $'i,
  ),

Don't use SENDER SOFT-WHITELISTING in amavisd because thats the same as in 
SA. It's only affect the score but don't bypass SA.

Maybe someone helps this. On SuSE Linux amavisd-new can setup with Postfix 
in YAST.

Ciao Marco.

Reply via email to