Mike Williams wrote:
On Sunday 21 September 2003 00:51, Andrew Gaffney wrote:

I have qmail, qmail-scanner, and clamav installed. I have qmail and
clamd started. My /etc/tcp.smtp has been modified to use the
qmail-scanner-queue.pl script. I regenerated it with tcprules. What else
do I have to do to get virus scanning working with my email?


Firstly, I'd highly suggest using something other than clamav. F-prot has been recommended to me, and works a lot better than clam. Qmail-scanner will automatically pick up f-prot when re-emerging it.

Secondly, can you post your tcp.smtp and local IP.

This is the tcp.smtp I used to enable relaying for local IPs. I just added the QMAILQUEUE parts.


192.168.254.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
127.0.0.1:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
192.168.254.25:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

Yes, I know line 3 is redundant. I'll get rid of it...eventually :) I unmerged clamav and emerged f-prot. I then re-emerged qmail-scanner and I saw:

Qmail-Scanner details.

log-details=0
fix-mime=1
debug=1
notify=sender,admin
redundant-scanning=no
[EMAIL PROTECTED]
local-domains='localhost'
silent-viruses='klez','bugbear','hybris','yaha','braid','nimda','tanatos','sobig','winevar'
scanners="fprot_scanner"

while re-emerging qmail-scanner, so I guess it picked it up. Alright, now what? How do I change the local-domains and virus-admin values? How do I activate it?

--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to