Matic wrote:

> I have a problem with amavisd-new and spamassassin when email is detected
> as spam.

> These are my settings for spam in amavisd.conf:
> $final_spam_destiny = D_BOUNCE;
> $warnspamsender = 1;
> $sa_local_tests_only = 0;
> $sa_timeout = 30;
> $sa_mail_body_size_limit = 150*1024;
> $sa_tag_level_deflt  = 4.0;
> $sa_tag2_level_deflt = 5.0;
> $sa_kill_level_deflt = $sa_tag2_level_deflt;
> #$sa_dsn_cutoff_level = 10; # default undef
> $sa_spam_subject_tag = '***SPAM*** ';
> $sa_spam_modifies_subj = 1;

> $spam_admin = "[EMAIL PROTECTED]";
> #$spam_quarantine_to = "[EMAIL PROTECTED]";

> The spam is recognized and report goes to spam_admin. The spam_quarantine
> also works if enabled.
> I don't know how to configure it to send spam report to recipient and to
> modify email headers (and subject); the sender gets notification about
> spam.

> Any suggestion?
> Thanks.
> Matic

I don't think there is a setting to warn a recipient of spam. That
would be counterproductive. Even more counterproductive than simply
sending them the spam, because the report would be equally annoying as
the spam itself, and if it was found that is was not spam, extra steps
to retrieve the original message would be required.

> $sa_kill_level_deflt = $sa_tag2_level_deflt;

The Subject line is rewritten for spam that scores at or above
$sa_kill_level_deflt *and* is passed to a recipient. If you set these
numbers the same, like you have here, none of the spam is passed to
the recipient. You would either have to set
$final_spam_destiny = D_PASS; or widen the gap between these two
settings. e.g.:
$sa_tag2_level_deflt = 5.0;
$sa_kill_level_deflt = 7.0;
With this setting, spam that scores at or above 5.0 will have the
Subject line rewritten. Anything over 7.0 will get quarantined
(or discarded).

> $sa_tag_level_deflt  = 4.0;

If you want spam report in the headers, lower this score, and make
sure your domain is listed in @local_domains_maps.

$sa_tag_level_deflt = -999.9;

I created a document that describes this in more detail, but it is
still a work in progress, and may not be 110% accurate:
http://www200.pair.com/mecham/spam/amavisd-settings.html

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
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