Topic: Amavis + spam
I want to tag all spams like ***SPAM*** in the subject-line.
Default --> $sa_spam_subject_tag = '***SPAM*** ';
$final_virus_destiny = D_DISCARD;
$final_banned_destiny = D_PASS;
$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS;
Debug --> $sa_tag_level_deflt = undef; # rewrite header always
$sa_tag2_level_deflt = 2.31; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 2.31; # triggers spam evasive actions
$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
I sent a test spam like this from outside my network:
This is the GTUBE, the Generic Test for Unsolicited Bulk Email
If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detecting incoming spam. You can send yourself a test mail containing the following string of characters (in upper case and with no white spaces and line breaks):
You should send this test mail from an account outside of your network.
Message is not tagged as spam, no spam info in mailheader.
Amavis is running.
I thougt "$sa_tag_level_deflt = undef;" always adds the headers.