[Techtalk] simple mail filtering via whitelist - suggestions?
Marleen Garcia
d.lineate at skynet.be
Mon Mar 8 18:03:14 EST 2004
On Sat, Mar 06, 2004 at 10:58:50AM -0500, Travis Casey <efindel at earthlink.net> wrote:
> I am, and am willing to mess with configuration files... and to read
> manuals and web pages, if someone can help me find the right ones. :-)
>
> I've googled already, and found a ton of stuff on blocking spam with
> procmail... but nothing that showed how to simply do *just* a whitelist.
Why not use procmail w/ spamassassin. SA keeps a config file in
your home dir (.spamassassin/user_prefs) to which you can easily
add a whitelist and blacklist.
You'd be amazed what you can do w/ whitelisting/blacklisting! And
SA takes care of spam in one go. Procmail here is only used to
direct mail into the appropriate mbox.
ex.: simple config (SuSE):
----------------------------------------------------------
# SpamAssassin user preferences file.
# See 'perldoc Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
###########################################################################
# How many hits before a mail is considered spam.
# required_hits 5
# Whitelist and blacklist addresses are now file-glob-style
# patterns, so "friend at somewhere.com", "*@isp.com", or
# "*.domain.net" will all work.
# whitelist_from someone at somewhere.com
# Whitelist From + check against received headers
# whitelist_from_rcvd
# Whitelist TO (mailing lists)
whitelist_to techtalk at linuxchix.org
whitelist_to issues at linuxchix.org
whitelist_to courses at linuxchix.org
-----------------------------------------------------------
Marleen
More information about the Techtalk
mailing list