SpamAssasin help

Matt Kettler mkettler at EVI-INC.COM
Tue Jan 20 20:23:34 GMT 2004


At 03:11 PM 1/20/2004, you wrote:
>I've seen a number of posts that say to run "spamassassin -D --lint" and
>have a quick question:  Do you stop MailScanner first, or can you just run
>that while all the normal stuff is going on?  My inclination is to stop it,
>but I've never noticed anybody saying to.  Thanks...

No need to stop MailScanner while running the SA command line...

I do it all the time and look at me  <insert picture of frazzled sysadmin
with a smoking server>

Ok, don't look at me.. but seriously, it really is fine to lint your
config, etc through the SA command line when MS is still going..

That said, editing your files while MS is running can be a bit tricky, as
MS periodicaly restarts and may read the config you are editing.

To prevent that, I use a "test user" account and test my options in "test
user"'s user_prefs.. this way I'm not editing local.cf, or other files that
Mailscanner might read..

Basically I keep /home/testuser/.spamassassin/user_prefs and
/etc/MailScanner/spam.assassin.prefs.conf the same. When I want to make
changes, I su to test user, edit the user_prefs, lint the config, and then
su back to root and copy the user_prefs file up to spam.assassin.prefs.conf.



More information about the MailScanner mailing list