Qmail-Scanner and ClamAV HowTo

09/19/2004

Revision History
Revision 1.009/19/2004glp
Initial Release, reviewed by TLDP
Revision 0.908/01/2004glp
Converted to DocBook
Revision 0.407/01/2004srp
First public draft in html

Abstract

This HOWTO describes how to integrate ClamAV, an anti-virus attachment scanner and Qmail-Scanner, an anti-virus message content scanner, with an existing installation of a qmail email server.


Table of Contents

1. Introduction
1. What This Document Is:
2. What This Document Is Not:
3. Acknowledgments
4. Copyright
5. Disclaimer
6. News
2. Prerequisites
3. ClamAV
1. What is ClamAV?
2. Installing ClamAV
3. Testing
4. Updating Defs
5. Setting up Clamd and Using With Daemontools
4. Qmail-Scanner
1. What Is Qmail-Scanner?
2. Installing Qmail-Scanner Prerequisites
2.1. Maildrop
2.2. Perl Modules
2.3. Mark Simpson's TNEF Unpacker
2.4. Patching qmail
3. Installing Qmail-Scanner
4. Ownership
5. Testing
5. Configuring qmail to Use qmail-scanner-queue.pl
1. Changing Your Tcp Rules
2. Increasing Your Softlimit
6. Conclusion
A. Recommended Reading and Other Resources
B. Scripts
C. Software
D. GNU Free Documentation License
1. PREAMBLE
2. APPLICABILITY AND DEFINITIONS
3. VERBATIM COPYING
4. COPYING IN QUANTITY
5. MODIFICATIONS
6. COMBINING DOCUMENTS
7. COLLECTIONS OF DOCUMENTS
8. AGGREGATION WITH INDEPENDENT WORKS
9. TRANSLATION
10. TERMINATION
11. FUTURE REVISIONS OF THIS LICENSE
12. ADDENDUM: How to use this License for your documents