General questions regarding MS, SpamAssassin stuff

Jason Williams jwilliams at COURTESYMORTGAGE.COM
Sat Mar 13 00:26:54 GMT 2004


>Don't use (Because you don't need to) the rc.d start up scripts
>(Remember to either rename or change the permissions so they don't start
>on reboot). All you need to do is as you describe, make that no to a yes
>in the MailScanner.conf. It really is that tricky :-)

Ya, im noticing it is very tricky. ::grin::
I was reading through the archives on the list and found out a lot of the
juicy details. Still have a lot to learn, but im getting there.
Seriously though, I can't get over how nice MailScanner is. I'm guessing
with time, it only gets better. :)



>A pleasure
>
>Drew

Being is that I have little experience with SA, I am noticing that it can
be quite powerful, but also very demanding in sense of constantly making it
better.
Just a quick question as I end my day here:

When editing rules for SA, there are a few locations it appears that you
can add information: specifically:

/root/.spamassassin
/usr/local/share/spamassassin
/usr/local/etc/mail/spamassassin  <- (FreeBSD location)

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.

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.

Best,
Jason



More information about the MailScanner mailing list