(function(a,e,f,g,b,c,d){a.GoogleAnalyticsObject=b;a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)};a[b].l=1*new Date;c=e.createElement(f);d=e.getElementsByTagName(f)[0];c.async=1;c.src=g;d.parentNode.insertBefore(c,d)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-732153-7","auto",{allowLinker:!0,siteSpeedSampleRate:10});ga("set","transport","beacon");ga("set","anonymizeIp",!0);ga("require","linker"); ga("linker:autoLink","askapache.com askapache.net htaccess.io htaccesselite.com askapache.info htaccess.guru".split(" "),!0);ga("send","pageview"); CLASS="book" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

Qmail-Scanner and ClamAV HowTo

Steve Peace

Gregory L. Porter -

version 1.0 Edition

Edited by

Todd Hawley

09/19/2004

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

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.1. What This Document Is:
1.2. What This Document Is Not:
1.3. Acknowledgments
1.4. Copyright
1.5. Disclaimer
1.6. News
2. Prerequisites
3. ClamAV
3.1. What is ClamAV?
3.2. Installing ClamAV
3.3. Testing
3.4. Updating Defs
3.5. Setting up Clamd and Using With Daemontools
4. Qmail-Scanner
4.1. What Is Qmail-Scanner?
4.2. Installing Qmail-Scanner Prerequisites
4.3. Installing Qmail-Scanner
4.4. Ownership
4.5. Testing
5. Configuring qmail to Use qmail-scanner-queue.pl
5.1. Changing Your Tcp Rules
5.2. Increasing Your Softlimit
6. Conclusion
A. Recommended Reading and Other Resources
B. Scripts
C. Software
D. GNU Free Documentation License
D.1. PREAMBLE
D.2. APPLICABILITY AND DEFINITIONS
D.3. VERBATIM COPYING
D.4. COPYING IN QUANTITY
D.5. MODIFICATIONS
D.6. COMBINING DOCUMENTS
D.7. COLLECTIONS OF DOCUMENTS
D.8. AGGREGATION WITH INDEPENDENT WORKS
D.9. TRANSLATION
D.10. TERMINATION
D.11. FUTURE REVISIONS OF THIS LICENSE
D.12. ADDENDUM: How to use this License for your documents