spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Funk <>
Subject Re: header issues
Date Sun, 02 Jan 2011 22:23:38 GMT
On Sun, 2 Jan 2011, Jack L. Stone wrote:

> Sorry to have to return to the trough so soon, but still dealing with
> issues since recent upgrade of SA. Downgraded but no help there either, so
> went back to latest version.
> Am using FBSD-7.x with Sendmail and SA-3.3.1_3
> Here is the SA headers in an email tagged as spam but got through anyway:
> X-Spam-Flag: YES
> X-Scanned-By: milter-spamc/1.15.388 ( []);
> Sun, 02 Jan 2011 08:42:43 -0600
> X-Spam-Status: YES, hits=11.50 required=4.50
> X-Spam-Level: xxxxxxxxxxx
> X-Spam-Report: Content analysis details:   (11.5 points, 4.5 required)
> Additionally, in my "" file I have tried to manage the "X-Spam"
> headers to exclude the X-Spam_Level, but it's still there contrary to the
> config:
> X-Spam-Level: xxxxxxxxxxx
> First I tried the "remove_header spam Level" and didn't change a thing. So,
> then went to the extreme and started with the "clear_headers" config with
> add-backs of only those I wanted. Still no joy.

The spamassassin header add/remove functionality is all predicated upon
spamassassin being used as a filter element in a mail processing pipeline.
(IE messages are passed to SA (either directly or via spamc) on 
standard-in and the results on std-out are then passed on to the mail 
delivery system. Thus SA can modify the message, adding/removing headers,
wrapping the body etc.

You are using SA with sendmail & a sendmail-milter (milter-spamc). In that
architecture sendmail hands a -copy- of the message to the milter, the 
milter passes it on to SA, the milter receives the results from SA, and 
the milter then decides what operations it should tell sendmail to perform
on the original message inside sendmail (add/modify/remove headers, accept 
or reject the message, etc).
So the SA header operations (which are written to std-out of SA) do
not have any direct effect on the message as passed thru sendmail.
That is entirely the function of the milter.

You need to look at the documentation (or source code) of the milter
to see what header mods you can make/change.

Dave Funk                                  University of Iowa
<dbfunk (at)>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

View raw message