You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by R G <ro...@hotmail.com> on 2004/08/09 14:24:45 UTC
Subject Rewriting
Hi, I've just configured amavis-new to use SA with Postfix (all latest
release). I hope someone has ran into this problem before. I guess I've done
something wrong, can anyone point me in the right direction?
All spam is being identified and forwarded to a dedicated postmaster
address, what I'd like to do is flag all these messages with ****SPAM**** in
the subject.
I have the following line in my amavis.conf
$sa_spam_modifies_subj = 1; # may be a ref to a lookup table, default is
true
$sa_spam_subject_tag = '***SPAM*** ';
$X_HEADER_TAG = 'X-Virus-Scanned';
$X_HEADER_LINE = "by amavisd-new at $mydomain";
$defang_virus = 1;
$defang_banned = 1;
The headers are added, but the subject isn't being rewritten. I read this in
the Amavis docs but I'm not sure what the bit below means.
# string to prepend to Subject header field when message exceeds tag2 level
$sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
# (only seen when spam is not to be rejected
# and recipient is in local_domains*)
This is the my spamassassin/local.cf
rewrite_subject 1 # I uncommented this
# report_safe 1
# trusted_networks 222.222
Any ideas what I'm doing wrong?
Thankyou.
RG
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/