Raman,

> Amavisd seems to skip spam scoring for some emails with BAD HEADER alerts:
> X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date"

I'm not aware of spam tests being bypassed based on bad header, except when
a message is already known to be blocked for some other reason (virus, banned,
bad-header *and* $final_bad_header_destiny not D_PASS).

> This is very similar to a problem previously reported on this list:
> http://old.nabble.com/BAD-HEADER-not-being-Spam---scored-td26201700.html

There the spam score was just not high enough to qualify as spam.

> I too have $final_bad_header_destiny = D_PASS; but I would think that
> amavis should still filter the email through spamassassin.

Yes, it should. Check your log, use elevated $log_level if necessary.

> I have amavisd configured with tagged_above=-1000, so I should be
> seeing the spam scoring headers regardless of the score For example,
> here are the headers from a different email:
> 
> X-Spam-Flag: NO
> X-Spam-Score: -2.599
> X-Spam-Level:
> X-Spam-Status: No, score=-2.599 tagged_above=-1000 required=5
>       tests=[BAYES_00=-2.599]

> And yet for these emails with BAD HEADER alerts, there are no spam
> scoring tags whatsoever.
> Using amavisd-new 2.6.4 (Fedora 14).

Could it be that a recipient was not considered local?
X-Spam header fields are only inserted for recipients matching
the @local_domains_maps, and when spam score exceeds tag level.

Log at elevated log level would provide a definite answer.

  Mark

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to