You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rick Beebe <ri...@yale.edu> on 2004/11/03 16:36:46 UTC
Missing subjects on 3.0x
Recently upgraded from 2.63 to 3.0.1 and there's a behavior change I
don't see documented. When spam comes in without a subject header, and
the user has requested subject tagging, SA no longer adds one to put the
tag in. Is this a bug or feature? Is there a way to get the old behavior
back?
Note that I'm not confused about the change from rewrite_subect to
rewrite_header. Spam with existing Subject lines get tagged fine.
--
_______________________________________________________________________
Rick Beebe (203) 785-6416
Manager, Systems & Network Engineering FAX: (203) 785-3481
ITS-Med Production Systems Richard.Beebe@yale.edu
Yale University School of Medicine
Suite 124, 100 Church Street South http://its.med.yale.edu
New Haven, CT 06519
_______________________________________________________________________
Re: Missing subjects on 3.0x
Posted by Matt Kettler <mk...@evi-inc.com>.
At 10:36 AM 11/3/2004, Rick Beebe wrote:
>Recently upgraded from 2.63 to 3.0.1 and there's a behavior change I don't
>see documented. When spam comes in without a subject header, and the user
>has requested subject tagging, SA no longer adds one to put the tag in. Is
>this a bug or feature? Is there a way to get the old behavior back?
Sounds like a bug, not a feature.
In fact, it is:
http://bugzilla.spamassassin.org/show_bug.cgi?id=3816
Looks like there's some hesitance to add a missing Subject: header, because
it breaks markup removal when making a pristine message for reporting.
However, they are working on it.
>Note that I'm not confused about the change from rewrite_subect to
>rewrite_header. Spam with existing Subject lines get tagged fine.
It's just a syntax change in order to make things more flexible..
rewrite_subject no longer exists in SA 3.0, and as such is now completely
invalid. subject_tag is gone too. If they exist in your config, remove them.
rewrite_header replaces rewrite_subject, but is more flexible, allowing you
to rewrite the subject, from, or to headers with a tag.
SA 2.6 syntax:
subject_tag *SPAM*
rewrite_subject 1
SA 3.0 syntax:
rewrite_header Subject *SPAM*
These two work the same, but rewrite_header is a bit more general and
flexible than the old setup. You can now do things like:
rewrite_header From spammer
which will make the From line look like:
From: Joe <so...@example.com> (spammer)