Lima wrote:

>> > Having some troubles while trying to configure the amavis whitelist.
>> 
>> > I've added to the @score_sender_maps an internal test account
>> > ([EMAIL PROTECTED]) with a negative value (-100) but this
>> > setting is not being evaluated when I send an e-mail from this user
>> > account (as it's reported by SA in the content analysis report), same
>> > thing happens to the default amavis table, ie: [EMAIL PROTECTED]; what
>> > am I doing wrong ?

> @score_sender_maps = ({  # a by-recipient hash lookup table
>   # site-wide opinions about senders (the '.' matches any recipient)
>   '.' => [  # the _first_ matching sender determines the score boost
> #  read_hash("/var/amavis/sender_scores_sitewide"),
>    { # a hash-type lookup table (associative array)
>      '[EMAIL PROTECTED]'         => -100.0,


> and finally this is the e-mail header:

> To: [EMAIL PROTECTED]
> Subject: **[SPAM]** spam
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> X-Spam-Status: Yes, hits=8 tagged_above=2 required=6.31
>  tests=[SARE_EN_SET1_A1=2, SARE_EN_SET1_A2=2, SARE_EN_SET1_A3=2,
>  SARE_EN_SET1_A4=2]
> X-Spam-Level: ++++++++
> X-Spam-Flag: YES


> As you can see the -100 points aren't substracted from the SA score.

> Thanks for any suggestions.
> JC

Testing on my system, the hits= in the header is the only place in the
header I see a change. Show the entire header. Temporarily increase
$log_level to 5 in amavisd.conf and try again.

As an example, my /var/log/mail.log at level 5 shows:

Jun  1 08:24:00 sf8 amavis[14899]: (14899-01) lookup
(score_sender<[EMAIL PROTECTED]>) => true,  "[EMAIL PROTECTED]"
matches, result="-5", matching_key="[EMAIL PROTECTED]"

Jun  1 08:24:00 sf8 amavis[14899]: (14899-01) wbl: soft-whitelisted
(-5) sender <[EMAIL PROTECTED]> => <[EMAIL PROTECTED]>, recip_key="."

With the exception of adding your recipient, have you modified
the @score_sender_maps section in other ways?

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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