SpamAssassin provides numerous configuration parameters. These parameters
are documented in detail under Mail::SpamAssassin::Conf, and
are controlled from the ~/.spamassassin/user_prefs file (you can
create ~/.spamassassin/ if it doesn't exists).
We strongly recommend configuring at least ok_locales.
A typical user_prefs file might look like:
# Customize Subject tag
rewrite_header Subject ******SPAM*******
# Expect messages in French, English
ok_locales en fr
# Whitelist various From addresses
whitelist_from addr@lists.sourceforge.net
# Supplement whitelist_from with a check against Received: headers.
# The second parameter should match the reverse DNS.
whitelist_from_rcvd addr@lists.sourceforge.net sourceforge.net
Note that the required_score setting in user_prefs will
not be honored on our servers, since the score threshold is already
configured along with e-mail addresses in the control panel or csoftadm
(see below).
Depending on your server, the mail system may or may not be running
on the same machine which you normally log into, but /mailXX
(e.g., /mail123/ if your mail server is called
mail123.csoft.net) will always provide a NFS (network filesystem)
mount to the mirror copy of your home directory on whichever server is
currently processing e-mail.
Whenever you are done editing user_prefs, copy it to the
/mail*/yourname/.spamassassin/ directory. This will make the
changes effective without having to wait for the mirror to update.
$ mkdir /mailXX/myname/.spamassassin
$ cp -f ~/.spamassassin/user_prefs /mailXX/myname/.spamassassin
|