Sendmail
Spam and Virus Filtering (Con't)
Step 6: Auto-Update your Virus Definitions
You should update your virus definitions daily. Run the
update manually from the command prompt and then Create a new script
in /etc/cron.daily:
freshclam
touch /etc/cron.daily/virus-update
chmod 755 /etc/cron.daily/virus-update
Edit /etc/cron.daily/virus-update to contain:
freshclam > /dev/nul
Step 7: Create a Spamassassin Shared User
We are going to build a sitewide spam filtering server. There
will be one database that performs the filtering. It is not as efficient
as each user having their own database, but it is more practical.
adduser sharedspam
mkdir /home/sharedspam/.spamassassin/
chmod 755 /home/sharedspam
chmod 777 /home/sharedspam/.spamassassin/
touch /home/sharedspam/.spamassassin/user_prefs
chmod 644 /home/sharedspam/.spamassassin/user_prefs
touch /home/sharedspam/.spamassassin/auto-whitelist
chmod 666 /home/sharedspam/.spamassassin/auto-whitelist
Spam Configuration - Part 3 ->
References:
Sample Sendmail
configuration file
Spam proof and Virus Filtering e-mail server -
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=4938
Centralized Spam Filtering:
http://www.stearns.org/doc/spamassassin-setup.current.html#sitewide
Spam Assassin Configurator:
http://www.yrex.com/spam/spamconfig.php
Article last reviewed: 12/29/2006
|
Created by: Digital Foundation,
inc.
Copyright © 2002-2005 Digital Foundation,
inc.
www.networkclue.com
|
|
|
All content of the NetworkClue website is copyrighted. Articles, notes,
outlines, and all other materials may not be stored on the Internet or sold or
placed by themselves or with other material in any electronic or printed format in whole or
part. However materials may be referenced by links to the site.
|