Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hey,
how can I put a email address on the safe list. It always gets on my spam file. I use Spamassassin 3.0.2 runned by procmail. What are auto-whitelist, bayes_toks and bayes_seen for? Can I edit this.
thanks,

To make it system wide add it to /etc/mail/spamassassin/local.cf
eg to allow mail from anyone at abc.com:
whitelist_from *@abc.comTo whitelist just for specific users add it to their ~/.user_prefs

I can't find the whitelist file for the users, I cant find .user_prefs, under each user I can find, auto-whilelist, bayes_toks and bayes_seen
thanks,

Sounds like you are looking for ~/.spamassassin/.user_prefs and not ~/.user_prefs....it should be in the root of the users home directory. If not copy one from from /etc/mail/user_prefs. On my server I've made a /etc/skel/.user_prefs so that it is automatically created for new users.
In case you didn't know a "." at the beginning of GNU/Linux filenames makes them hidden, you can view them with ls and the -a switch.

yeah i know its hidden, i only can see the files i mentioned. Can I see an example of that setting file online or yours..
thanks,

All you need is "whitelist_from *@abc.com" as it will use default values for anything else. FYI here's my .user_prefs which is pretty standard:
# SpamAssassin user preferences file. See 'perldoc Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
############################################################################ Rewrite subject?
rewrite_subject 1
subject_tag ***SPAM***# How many hits before a mail is considered spam.
required_hits 5# Whitelist and blacklist addresses are now file-glob-style patterns, so
# "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
# whitelist_from someone@somewhere.com# Add your own customised scores for some tests below. The default scores are
# read from the installed spamassassin rules files, but you can override them
# here. To see the list of tests and their default scores, go to
# http://spamassassin.org/tests.html .
#
# score SYMBOLIC_TEST_NAME n.nn# Speakers of Asian languages, like Chinese, Japanese and Korean, will almost
# definitely want to uncomment the following lines. They will switch off some
# rules that detect 8-bit characters, which commonly trigger on mails using CJK
# character sets, or that assume a western-style charset is in use.
#
# score HTML_COMMENT_8BITS 0
# score UPPERCASE_25_50 0
# score UPPERCASE_50_75 0
# score UPPERCASE_75_100 0

![]() |
Hard drive FUBAR
|
losetup and dd images
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |