On 2012-06-13, at 4:01 PM, Eric Shubert <[email protected]> wrote:
> On 06/13/2012 03:24 PM, Mailinglists wrote: >> Hi there, >> >> I have been searching the archives of the list for the best method to >> disabling the spam assassin's subject tagging (*** SPAM ***). I didn't >> find a definitive answer, so I wanted to post for confirmation what I >> did (for another set of eyes). >> >> All I did was: >> >> # vi /etc/mail/spamassassin/local.cf >> >> and added: >> >> report_safe 0 >> # Disable subject rewrites >> *--> rewrite_subject 0* >> rewrite_header Subject ***SPAM*** >> >> >> Is this sufficient? And no other side effects? >> >> Thanks! >> > > It depends on what you're trying to accomplish. If you want to skip SA > scanning entirely, which would eliminate a good deal of processing, I'd > modify the /var/qmail/control/simcontrol file to specify spam=no. This would > turn of SA scanning. > > If you still want to scan so that you get a scoring header in the message > (which some clients can filter based on), but simply do not want to change > the subject line, then I think you would simply comment out (or remove) the > line: > rewrite_header Subject ***SPAM*** > > I believe you'll need to restart spamassassin after changing the local.cf > file, like so: > # qmail-spam restart > > -- > -Eric 'shubes' > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > My original goal was just to get rid of that header in the subject. But now that I think about it and it will just disable Spam assassin entirely, and let's spamdyke pick up the load. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
