Hi,
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.
@score_sender_maps = ({ '[EMAIL PROTECTED]' => [ '.' => -5.0],
'[EMAIL PROTECTED]' => [ '.' => -5.0]})
Will this work?
@score_sender_maps =( { [read_hash('/var/amavis/whitelist_rcpt')] => [
'.' => -5.0] } );
with whitelist_rcpt like:
[EMAIL PROTECTED] anything
[EMAIL PROTECTED] anything
On 7/3/06, Mark Martinec <[EMAIL PROTECTED]> wrote:
> Michael,
>
> > My spam_lovers_map works. I noticed that the behaviour of spam_lovers
> > is to PASS the mail to the recipient even if the score is higher than
> > the $sa_kill_level_deflt.
> >
> > The behaviour I want is to suppress the X-Spam headers and subject
> > rewriting for recipients in my spam_lovers file. Is it ok to list
> > recipients in the bypass_spam_checks_maps or this is just for domains?
>
> Yes, just make the @bypass_spam_checks_maps the same as @spam_lovers_maps,
> a simple assignment will do: @[EMAIL PROTECTED];
>
> Same rules apply to all lookup tables, individual recipients or domains
> may be listed in bypass*maps, just like in *lovers_maps.
>
> 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
[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/