Alejandro Cabrera Obed wrote:
Hi people,

I have Sendmail + Clamav + Clamav-milter in order to scan virus in my mail
server on Fedora Core 3.

The antivirus system only checks for viruses in the incoming mail and NOT in
the outgoing mail. Also if clamav detects a virus in any incoming mail, it
discards it and I don't know where it puts the virus. I've read
/etc/clamd.conf and /var/log/clamav/clamd.log but I don't see anything about
this behavior.


It probably puts the mail in /var/spool/clamav/ if you have clamav-milter set to quarantine it.

So I have these questions:

1) How can I tell clamav to check outgoing mails from my mail server ???

Add --outgoing to the clamav-milter startup.

man clamav-milter

2) How can I tell clamav to put the infected files in a given path of my
file system (maybe /root/infections) ???

edit /etc/sysconfig/clamav-milter

Here's mine:

CLAMAV_FLAGS="--local --external --max-children=10 --dont-log-clean local:/var/run/clamav/clamav-milter.sock --quarantine-dir=/var/spool/clamav "

3) How can I tell clamav to send alerts (through mails or wahetever) to
postmaster or my linux user everytime it detects a virus in a mail ???

The above will have it send mail to the recipient and postmaster.

man clamav-milter for other options.



--

  Steve
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to