On Fri, 29 Aug 2014, Reindl Harald wrote:
Am 25.08.2014 um 11:37 schrieb Reindl Harald:
header contains "X-Spam-Status: Yes, score=7.5 required=5.0"
but the subject does not get [SPAM] tagging with the config
below - not sure what i am missing
spamassassin-3.4.0-7.fc20.x86_64
spamass-milter-0.3.2-11.fc20.x86_64
spamass-milter -p /run/spamass-milter/spamass-milter.sock -g sa-milt -r 8 -- -s
1048576
perl -T -w /usr/bin/spamd -c -H --max-children=25 --min-children=10
--min-spare=5 --max-spare=15
__________________________________________________
"/var/lib/spamass-milter/spamassassin/user_prefs" is empty
"/etc/mail/spamassassin/local.cf" is configured below
[snip..]
report_safe 0
skip_rbl_checks 1
clear_headers
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_
rewrite_header Subject [SPAM]
besides the permissions problem after the nightly "sa-update" the reason
was simply "clear_headers" without "add_header spam Flag _YESNO" which
is entirely unexpected behavior
why does the software changing the subject based on a decision made
by itself need a header written by itself as base for the next decision
to change the subject?
One thing to keep in mind here, you're using a milter and it does things
differently than when spamassassin is used as a filter.
With a milter it gets a copy of the incoming message, passes it on to SA,
it gets the results back from SA and then it makes decisions about how to
change the original message which is still in your MTA. So the milter makes
explicit calls into the MTA saying 'add this header' or 'replace that header
with this other data'. So it's up to your milter to decide what changes it
makes to the resultant message, it could -totally- ignore what SA has done
and produce its own outout.
Bottom line, you need to look at the code of the milter to see what headers
get added/changed in the resulting message output, the SA configs don't have
complete control.
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> 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{