Full Mail Server Solution w/ Virtual Domains & Users - Page 08 (Mail Delivery Server - DSPAM Training and ClamAV)
F. Training DSPAMDSPAM can learn what spam is by reading your email, and over time, it will get better at figuring out spam vs. ham by your sending it "spam+user@example.com" and "nospam+user@example.com" messages. You can get a head start though, but giving it some initial training. Let's go ahead and set that up. You're going to need bzip2 # apt-get install bzip2 Then you're going to need to download the training files for DSPAM.
# cd /tmp Go ahead and decompress them:
# tar xvfj 20050311_spam_2.tar.bz2 ...and then finally, train DSPAM: # dspam_train test spam_2/ easy_ham_2/ DSPAM will now process the files (This will take a while), and fill the database with the resulting tokens. When it is finished, it should be much more accurate. G. Viruses!But hold the phone! What if an email from a VALID source has a virus in it? Well, DSPAM has a nifty tag built into it for ClamAV. So let's get that installed... Debian, again, is awesome: # apt-get install clamav-daemon Do a quicky edit of the clamav configuration file to uncomment the TCPSocket line: /etc/clamav/clamd.conf [...] ... and restart clamav: # invoke-rc.d clamav-daemon restart The edit /etc/dspam/dspam.conf [...] Restart dspam: invoke-rc.d dspam restart And they all lived happily ever after... DSPAM will now check for SPAM, and then check for viruses. SPAM will be put in the aptly-named "SPAM" folder, and the subject will be modified to start with "[SPAM]." Emails with viruses in them will get flat-out rejected by the server.
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com




![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)

print: 
Recent comments
16 hours 49 min ago
18 hours 17 min ago
21 hours 51 min ago
1 day 45 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 7 hours ago