Gary wrote:

> Jonathan wrote:

>> Platform: Debian Sarge + amavisd-new-20030616-p10 + spamassasin 3.x

>> Hi all,

>> i configured my amavisd.conf file with the next parameters about spam 
>> handling:

>> $sa_local_tests_only = 0;
>> $sa_auto_whitelist = 1;
>> $sa_timeout = 30;
>> $sa_mail_body_size_limit = 150*1024;
>> $sa_tag_level_deflt  = -9999.9;
>> $sa_tag2_level_deflt = 4.5;
>> $sa_kill_level_deflt = 8.0;
>> $sa_dsn_cutoff_level = 12.0;
>> $sa_spam_subject_tag = '[SPAM?] ';
>> $sa_spam_modifies_subj = 1;
>> $first_infected_stops_scan = 1;


>> This parameters seems to be avoided because i have configured a hard 
>> limit of 12 in the spam processing and i'm accepting (but tagging fine) 
>> spam with even more than 16 points as you can see in the following snipet:

>> <snip>
>>    X-Spam-Status: Yes, hits=16.4 tagged_above=-9999.9 required=4.5
>>                  tests=[...]
>>    X-Spam-Level: ****************
>>    X-Spam-Flag: YES
>> </snip>

>> Does anyone can tell me why amavis is accepting tagged spam messages 
>> over 12 point as configured?

>> Thanks in advance.
>> BR,

>> jonathan

> You have misunderstood what $sa_dsn_cutoff_level = 12.0; does.

> If you were to use $final_spam_destiny = D_BOUNCE; amavisd-new would
> send a bounce notice to the sender once the spam score reached your
> $sa_kill_level_deflt (8.0). The spam would not be delivered to the
> recipient and a copy would go to your spam quarantine (if you have one
> configured). Only when $final_spam_destiny = D_BOUNCE; does
> $sa_dsn_cutoff_level come into play. Setting $sa_dsn_cutoff_level = 12.0;
> means that spam that scores over 12.0 will no longer bounce (will no longer
> notify the sender). When $sa_dsn_cutoff_level is set to anything other
                           ^^^^^^^^^^^^^^^^^^^
                           $final_spam_destiny
Sorry for the editing error.

> than D_BOUNCE it really does not do anything.

> It is $sa_kill_level_deflt that triggers one of the four possible
> actions: D_PASS, D_BOUNCE, D_REJECT or D_DISCARD, not
> $sa_dsn_cutoff_level.

> It appears this sample mail was received by one of your recipients, so
> I would say your $final_spam_destiny is set to D_PASS (or they are a
> spam_lover).

> What is your $final_spam_destiny set to?
> What have you set $spam_quarantine_to to?

> Are you trying to discard the spam if it reaches a level of 12.0?
> If so, set $sa_kill_level_deflt = 12.0; and set $final_spam_destiny to
> something other than D_PASS. Set it to D_BOUNCE if you want to send
> bounce notices (for spam that scores below $sa_dsn_cutoff_level) or to
> D_DISCARD if you don't. Set $sa_dsn_cutoff_level higher than
> $sa_kill_level_deflt or there will be no difference between D_DISCARD
> and D_BOUNCE. Do you want spam that scores over 12.0 to be quarantined,
> or silently discarded?

> Gary V



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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