SpamAssassin Config files {Scanned by HJMS}

Furnish, Trever G TGFurnish at HERFF-JONES.COM
Wed Oct 1 17:06:44 IST 2003

When spamassassin is used by mailscanner, the spam.assassin.prefs.conf file
in the MailScanner configuration directory is what matters.  When you, for
example, spamassassin -D --lint on the command line different files get
used.  I would suggest (assuming a typical sendmail install and MailScanner
config under /etc/MailScanner) that you do the following:

mv /etc/mail/spamassassin/ \
ln -s /etc/MailScanner/spam.assassin.prefs.conf \

That way when you run sa from the command-line, the mailscanner prefs file
will still get used.


> -----Original Message-----
> From: Jim Dickenson [mailto:dickenson at CFMC.COM]
> Sent: Wednesday, October 01, 2003 10:57 AM
> Subject: SpamAssassin Config files {Scanned by HJMS}
> I am totally confused as to where the various config files for SA are
> located when using MS.
> In /etc/MailScanner/MailScanner.conf there are various
> options that seem to
> set some SA options. Additionally there are these lines that
> point to config
> files as well.
> SpamAssassin Prefs File = %etc-dir%/spam.assassin.prefs.conf
> SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
> When I was running SA via procmail there were various files in
> /etc/mail/spamassassin, for system-wide options, and then in
> /var/lib/spamassassin there were directories in the form of
> <username>.prefs
> that had user_prefs as well as other stuff that were specific
> to a given
> user.
> I have searched the mail list archive but got more confused.
> Can someone please explain, or point me to an explanation,
> about how SA gets
> configured when run via MS?
> TIA,
> --
> Jim Dickenson
> mailto:dickenson at
> Computers for Marketing Corporation

More information about the MailScanner mailing list