Michael,

> What if I want to use ENVELOPE SENDER SOFT-WHITELISTING, but want to
> use the read_hash() function for my recipients list. How do I go about
> it in the amavisd.conf? I want the effect to be like the ff, a reverse
> of sender_scores_sitewide. I want a list of recipients, wherein mail
> from any sender gets a -5.0 score.
...
> Will this work?

No, it won't be as easy as that. A lookup into @score_sender_maps
works in two stages, the first is to use a recipient address
and obtain a second-level list of plain lookup tables,
then a sender address is looked up in the selected table.

You will have to write some perl code to construct such a two-level
data structure from your data - or modify code to swap lookups
into @score_sender_maps, which is probably more tricky to do.

  Mark

-------------------------------------------------------------------------
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
AMaViS-user@lists.sourceforge.net
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