Computing.Net > Forums > Linux > safe mail for spamassassin

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

safe mail for spamassassin

Reply to Message Icon

Name: LuXien
Date: May 9, 2005 at 08:42:13 Pacific
OS: Slackware 10
CPU/Ram: AMD Duron 1.6GHz/128mb DD
Comment:

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,



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: May 9, 2005 at 09:02:03 Pacific
Reply:

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.com

To whitelist just for specific users add it to their ~/.user_prefs


0

Response Number 2
Name: LuXien
Date: May 10, 2005 at 17:59:15 Pacific
Reply:

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,


0

Response Number 3
Name: 3Dave
Date: May 11, 2005 at 00:59:53 Pacific
Reply:

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.


0

Response Number 4
Name: LuXien
Date: May 11, 2005 at 16:48:34 Pacific
Reply:

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,


0

Response Number 5
Name: 3Dave
Date: May 12, 2005 at 03:36:06 Pacific
Reply:

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


0

Related Posts

See More



Response Number 6
Name: LuXien
Date: May 15, 2005 at 14:13:00 Pacific
Reply:

In created the .user_pref file and still it doesnt work. I still receive it as spam...


0

Response Number 7
Name: 3Dave
Date: May 16, 2005 at 08:42:39 Pacific
Reply:

It's .user_prefs and not .user_pref....and it should be in the root of your home directory.


0

Response Number 8
Name: LuXien
Date: May 22, 2005 at 16:10:01 Pacific
Reply:

yeah i meant that, and it still isnt...

thanks,


0

Sponsored Link
Ads by Google
Reply to Message Icon

Hard drive FUBAR losetup and dd images



Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: safe mail for spamassassin

Need Webbase Mail For Unix Mail Server www.computing.net/answers/linux/need-webbase-mail-for-unix-mail-server/234.html

Relay mail for non existing local u www.computing.net/answers/linux/relay-mail-for-non-existing-local-u/13159.html

Desperate please help www.computing.net/answers/linux/desperate-please-help/17771.html