Hello,
I run clamav 0.81rc1, it scans fine, but it I want it to send a message to
the recipient when a virus is found

I start clamav with the following options:
/etc/clamd.conf:
LocalSocket /var/run/clamav/clamav.sock
LogTime
LogSyslog
FixStaleSocket
User clamav
ScanMail
ScanArchive
ArchiveMaxFileSize 10M
DatabaseDirectory /var/lib/clamav/

/etc/sysconfig/clamav-milter:
CLAMAV_FLAGS="
--max-children=5
--headers
--quiet
--force-scan
--noreject
--from=AntiVirus<localdomain>
--template-file=/etc/sysconfig/clamav-milter-message
-ol local:/var/run/clamav/clamav-milter.sock
"

/etc/sysconfig/clamav-milter-message:

A virus has been detected in an e-mail sent to you. The
message has been blocked. Here are the details:

Sent from: ${mail_addr}$
Sent to: ${rcpt_addr}$
Virus Name: %v



_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to