Bluehost.com Web Hosting $6.95

Re: [AMaViS-user] logging "spam", but not adding headers below sa_kill_level_deflt

This is a discussion on Re: [AMaViS-user] logging "spam", but not adding headers below sa_kill_level_deflt within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Mark Martinec wrote: > John, > > I'm not sure I understand your setup - are these mailers processing mail &...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-20-2005
John Beamon
 
Posts: n/a
Default Re: [AMaViS-user] logging "spam", but not adding headers below sa_kill_level_deflt

Mark Martinec wrote:
> John,
>
> I'm not sure I understand your setup - are these mailers processing mail
> one after another? There is only one 'Received' header field in your sample.
>
> amavisd-new removes all previous X-Spam-* headers from a message
> if it is doing spam checking by itself. This is to protect recipients from
> acting on such header fields inserted by untrustworthy foreign mailers.
> If you have two amavisd-s in a chain, the second one will remove
> X-Spam-* headers fields inserted by previous ones.
>
>
> Gary,
>
>>The $sa_tag_level_deflt only affects the X-Spam type headers. You can
>>safely include these headers in every mail, spam or not by setting:
>>$sa_tag_level_deflt = undef;
>>which for this particular setting means 'lower than any possible score'.

>
>
> This is only true for amavisd-new-2.0 or later;
> from 2.0 release notes:
> - if tag level turns out to be undef, it will not be shown in X-Spam-*
> header fields, and will be interpreted as having a value lower than any
> spam score when deciding whether to insert X-Spam-* header fields or not;
>
> with 20030616 or older undefined tag_level is treated as 0.
>
> Mark
>
>

The sample was not a full message; it's an excerpt that shows only one
header and was marked as "(snipped)" in the paragraph above. I
mentioned the following about the setup in my initial post.

"I have two mail filtering servers ahead of my mailbox server, running
postfix-2.1.5-9, amavisd-new-20030616p10-5 and apamassassin-3.0.3 on
stock Debian Sarge."

Mail comes into the network through one of the two MX hosts, is filtered
for spam and viruses, and is delivered to the mailbox server. The
mailbox server runs amavis, but only as a virus scanner. There are
"X-Virus-Scanned: by amavis at" headers for both the filter and the
mailbox server on delivered messages. The filtering servers began to
differ in their behavior at some time in the last few weeks that
completely slipped under my radar. Mail from filtering server #2 still
has "X-Spam-Level: 1.2" style headers added for scores between my
tag_level and my kill_level. Mail from filtering server #1 now
completely lacks X-Spam-* headers. I've run sdiff against their config
files. I've turned on debug logging to a separate log file. I can't
find the problem. I'm open to this being an issue with amavisd-new,
spamassassin, or possibly postfix. I just can't find it.

--
John Beamon
Systems Administrator
Franklin American Mortgage Co.
em: jbeamon@franklinamerican.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:40 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0