Koozali.org: home of the SME Server

removing [Spam.... etc from spam email subject lines

oliverm

removing [Spam.... etc from spam email subject lines
« 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

shanen

removing [Spam.... etc from spam email subject lines
« Reply #1 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?)