At 07:27 PM 1/6/2005, Simon Byrnand wrote:
- The "rewrite_subject" and "subject_tag" configuration options were
   deprecated and are now removed. Instead, using "rewrite_header Subject
   [your desired setting]".  e.g.

     rewrite_subject 1
     subject_tag ****SPAM(_SCORE_)****

   becomes

     rewrite_header Subject ****SPAM(_SCORE_)****


What was the logic behind this unnecessary change ?

Flexibility. rewrite_header isn't just capable of rewiting the subject line. It can rewrite other headers too.


In our case we have a global subject_tag setting in /etc/mail/spamassassin/local.cf but the per user .prefs files contain rewrite_subject 1 (or 0) depending on what the user selects through a web gui. (As one of a limited set of options they are allowed to configure)

Looks like I'll have no choice but to remove the option from the web gui altogether, as having the actual subject string in every single .prefs file doesn't make changing it in future very practical...

Hmm, what about modifying the web GUI so the user can specify whatever subject tag they want? This way it's not up to you to enact (for whatever reason) some global change of the subject tag, instead each user can pick their own to suit their mailclient...







Reply via email to