Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
SpamAssassin: A practical guide to integration and configuration

You're reading from  SpamAssassin: A practical guide to integration and configuration

Product type Book
Published in Sep 2004
Publisher Packt
ISBN-13 9781904811121
Pages 240 pages
Edition 1st Edition
Languages

Table of Contents (24) Chapters

SpamAssassin
Credits
About the Author
About the Reviewers
1. Introduction
1. Introducing Spam 2. Spam and Anti-Spam Techniques 3. Open Relays 4. Protecting Email Addresses 5. Detecting Spam 6. Installing SpamAssassin 7. Configuration Files 8. Using SpamAssassin 9. Bayesian Filtering 10. Look and Feel 11. Network Tests 12. Rules 13. Improving Filtering 14. Performance 15. Housekeeping and Reporting 16. Building an Anti-Spam Gateway 17. Email Clients 18. Choosing Other Spam Tools Glossary

Testing


Before going live, the system should be tested. The machine should be rebooted, and Amavisd and Postfix should be running. This can be tested with the ps command:

$ ps -ef | grep amavisd

amavis 27549 1 0 Jul18 ? 00:00:01 amavisd (master)
amavis 27554 27549 0 Jul18 ? 00:00:00 amavisd (virgin child)
amavis 27555 27549 0 Jul18 ? 00:00:00 amavisd (virgin child)
$ ps -ef | grep postfix

root 6657 1 0 Jul18 ? 00:00:00 /usr/lib/postfix/master
postfix 29918 6657 0 00:37 ? 00:00:00 pickup -l -t fifo -u
postfix 29919 6657 0 00:37 ? 00:00:00 qmgr -l -t fifo -u
root 30989 10059 0 01:16 pts/11 00:00:00 grep postfix

The standard SpamAssassin test emails should be sent to a test user:

$ cd /spamassassin-distribution-dir
$ mail user@domain.com < sample-nonspam.txt
$ mail user@domain.com < sample-spam.txt

The ham email should be delivered to the appropriate user on the original email server, and the spam email should be discarded or sent to the email address that was used when Amavisd-new was...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}