| View previous topic :: View next topic |
| Author |
Message |
Fred Krogh Veteran

Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Tue Apr 18, 2006 7:56 pm Post subject: Problem with amavisd-new |
|
|
Before an upgrade awhile back things worked nicely. The goal is to have spam go to baddies@localhost.
Here is an entry from my log file, which got the mail sent to me and to baddies. | Quote: | Apr 18 12:39:54 mon amavis[19531]: (19531-01) Passed SPAM, [82.195.128.132] [82.195.128.132] <dayzers@a
llroundmailling.com> -> <mom@mathalacarte.com>, quarantine: baddies@localhost, Message-ID: <20060418114
644.v228odjw6qsk80c4@82.195.128.132>, mail_id: AIaTHHI0f70a, Hits: 2.463, 1607 ms
Apr 18 12:39:54 mon postfix/smtp[19566]: 9F43D1D9453: to=<mom@mathalacarte.com>, relay=127.0.0.1[127.0.
0.1], delay=2, status=sent (250 2.6.0 Ok, id=19531-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as D
19391D946B)
| I suspect the problem is from this block in amavisd.conf, but it seems the documentation is too much for me. | Quote: | #$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level;
# undef is interpreted as lower than any spam level
$sa_tag2_level_deflt = 2.0; #6.1 ;# add 'spam detected' headers at that level to
# passed mail (e.g. when $final_spam_destiny=D_PASS
# or for spam_lovers or when below kill_level)
$sa_kill_level_deflt = 2.0; #$sa_tag2_level_deflt; # triggers spam evasive actions
# at or above that level: bounce/reject/drop,
# quarantine, and adding mail address extension
$sa_dsn_cutoff_level = 9; # spam level beyond which a DSN is not sent,
# effectively turning D_BOUNCE into D_DISCARD;
# undef disables this feature and is a default;
|
While I'm at it, I have | Quote: | $sa_spam_level_char = '+'; # char for X-Spam-Level bar, defaults to '*';
| with the thought that perhaps I would get some idea of the spam level when I look at messages. Perhaps this line | Quote: | $sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
| overrides the spam_leve_char?? Thanks,
Fred |
|
| Back to top |
|
 |
mgmartin n00b

Joined: 05 Dec 2004 Posts: 17
|
Posted: Wed Apr 19, 2006 2:30 pm Post subject: Problem with amavisd-new |
|
|
I'm seeing a problem with the latest version (2.4.0) too where spam is now always passed. The area you quoted sets the levels by which actions occur. The actions themselves--D_PASS,D_REJECT,D_DISCARD used to be stored in the *_destinay variables, but are now stored in the *_ccat mappings ( i.e. final_destiny_by_ccat ). Although I have all the CC_SPAM mappins set to D_DISCARD, all spam is still passed to the recipient. The example conf file ( /usr/share/doc/amavisd-new-2.4.0/amavisd.conf-default.gz ) has additional mappings the gentoo-installed version does not, but I'm not sure if this is a gentoo conf problem, a problem with the new amavisd-new 2.4.0 release, or a problem with some other field I'm not setting.
$sa_spam_level_char and $sa_spam_subject_tag are used in two different places. $sa_spam_subject_tag changes the subject line of the message only when spam is passed on ( D_PASS ) to the recepient. $sa_spam_level_char sets a header field (X-Spam-Level) within the mail message that is sort of a "meter" display.
The headers would allow client-side ( ie in Firefox filter) filtering.
Here are some example headers--you have to look at the "raw" email to see these.
X-Spam-Flag: YES
X-Spam-Score: 11.56
X-Spam-Level: ***********
X-Spam-Status: Yes, score=11.56 required=3.5 tests=[BAYES_99=3.5,
FORGED_RCVD_HELO=0.135, HTML_90_100=0.113, HTML_BACKHAIR_8=0.282,
HTML_MESSAGE=0.001, HTML_NONELEMENT_40_50=0.126,
HTML_OBFUSCATE_40_50=2.64, INTERRUPTUS=0.182, MIME_HTML_ONLY=0.001,
MISSING_SUBJECT=1.816, MSGID_FROM_MTA_ID=1.393,
UPPERCASE_75_100=1.371]
These descriptions may help quoted from the conf file:
# tag_level controls adding the X-Spam-Status and X-Spam-Level headers,
# tag2_level controls adding 'X-Spam-Flag: YES', editing (tagging) Subject,
# and adding address extensions,
# kill_level controls 'evasive actions' (reject, quarantine);
# it only makes sense to maintain the relationship:
# tag_level <= tag2_level <= kill_level < dsn_cutoff_level < quarantine_cutoff_level
In short, the only problem I'm having with 2.4.0 is the unconditional passing spam mail. |
|
| Back to top |
|
 |
MoonWalker Guru


Joined: 04 Jul 2002 Posts: 510
|
Posted: Wed Apr 26, 2006 10:23 pm Post subject: |
|
|
just adding another voice to this, I just installed 2.4.0 2 hours ago and suddenly I am getting flodded with spam! I can't tell if it a config issuse or not as it too late now and need some sleep, it has to wait until tomorrow investigating the whole thing.
/M _________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
| Back to top |
|
 |
mgmartin n00b

Joined: 05 Dec 2004 Posts: 17
|
Posted: Fri Apr 28, 2006 2:00 pm Post subject: |
|
|
| Commenting out all the final_destiny_by_ccat settings in the /etc/amavisd.conf file seems to stop the spam from always being passed through, and the old behavior of using $final_spam_destiny is honored. I also commented out the $final_destiny_by_ccat{XXX} settings below the final_destiny_by_ccat hashes. Simple fix for now. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|