General questions regarding MS, SpamAssassin stuff
    Peter Bonivart 
    peter at UCGBOOK.COM
       
    Sat Mar 13 00:43:59 GMT 2004
    
    
  
Jason Williams wrote:
> I've been reading over the SA docs at their site, but just want to ask a
> quick question because I think im getting confused with how MS deals
> with SA.
You indeed are. ;-)
> If I want the subject re-written when it detects spam, I know how to create
> the rule, im just not sure where to put the rule. For example, here is what
> I have in my local.cf file (located in /usr/local/etc/mail/spamassassin)
>
>
> # How many hits before a message is considered spam.
> required_hits           4.0
>
> # Whether to change the subject of suspected spam
> rewrite_subject         1
>
> # Text to prepend to subject if rewrite_subject is used
> subject_tag             *****SPAM*****
>
> # Encapsulate spam in an attachment
> report_safe             0
>
> # Use terse version of the spam report
> use_terse_report        0
>
> # Enable the Bayes system
> use_bayes               1
>
> # Enable Bayes auto-learning
> auto_learn              1
>
> # Enable or disable network checks
> skip_rbl_checks         1
> use_razor2              1
> use_dcc                 0
> use_pyzor               0
>
> # Mail using languages used in these country codes will not be marked
> # as being possibly spam in a foreign language.
> ok_languages            en
>
> # Mail using locales used in these country codes will not be marked
> # as being possibly spam in a foreign language.
> ok_locales              en
>
>
> BUT, the subject is not being rewritten as I suggested above. My only
> thought is im not putting the information in the correct location.
> I appreciate the help and feedback. I'm very impressed with everything i've
> seen so far.
Don't think about the components so much, in fact don't even read their
documentation until you have finished setting up MS. It will become
clear to you after that. MS controls all components like SA and Clam.
What you have done above belongs in MailScanner.conf and
spam.assassin.prefs.conf.
--
/Peter Bonivart
--Unix lovers do it in the Sun
Sun Fire V210, Solaris 9, Sendmail 8.12.10, MailScanner 4.25-14,
SpamAssassin 2.63 + DCC 1.2.30, ClamAV 0.67 + GMP 4.1.2
    
    
More information about the MailScanner
mailing list