Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: oliverm on November 30, 2004, 03:44:00 PM

Title: removing [Spam.... etc from spam email subject lines
Post by: oliverm on November 30, 2004, 03:44:00 PM
Does anyeon know how to get SA (running under SME 6) to stop putting [Spam x.x out of x.x] in the subject line? I want to filter emails based on the X header in the email rather than on the tag in the subject line.

Olly
Title: removing [Spam.... etc from spam email subject lines
Post by: shanen on December 01, 2004, 12:24:15 AM
Edit /etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf/local.cf
Comment out "rewrite_header Subject [SPAM _SCORE_ of _REQD_]"

/sbin/e-smith/expand-template /etc/mail/spamassassin/local.cf

Restart SME (does anybody know if this needs to be done?)