Thierry wrote:

> In amavis,  I tried

> read_hash(\%whitelist_sender, '/var/lib/amavis/whitelist_sender');

> I remark with whitelist_to, I have that:

> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at my_domain
> X-Spam-Status: No, hits=-4.1 tagged_above=-100.0 required=5.0 
> tests=BAYES_50,
>         FORGED_MUA_THEBAT_CS, USER_IN_WHITELIST_TO
> X-Spam-Level:

> I didn't pay attention...

> So it's good, but my curiosity, in amavis, what is the equivalent of 
> whitelist_to of local.cf? :)

> Thanks :)

You are using whitelist_to here because it just so happens (even though
you are the envelope recipient) the header To: field has the amavis
address in it, so you are actually trying to whitelist the sender in
a roundabout way.

You can add the ENVELOPE sender to your /var/lib/amavis/whitelist_sender
file to whitelist this same sender. In newer versions of amavisd-new,
@score_sender_maps can do whitelist/blacklist by assigning a score
(like -6) to mail sent by chosen ENVELOPE senders. This is known as
soft wbl.

If you look at the header of the mail from the list again, you will
see this field:

Sender: [EMAIL PROTECTED]

This appears to be the ENVELOPE sender.

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to