On Thu, Feb 16, 2006 at 11:47:00PM -0500, Steve Feehan said:
> Hi. I have installed the Debian clamav-milter package. I've configured
> sendmail to use it and everything seems to be working OK.
> 
> clamav-milter does not depend upon clamav-daemon (which contains
> clamd). When and why would I want to use clamav-milter in combination
> with clamd?

If, for example, the machine you were running the milter on was already
heavily loaded, you might want to off load the work of scanning to a
remote clamd instance.  Also, people have in the past experienced some
stability problems with the milter, but they seem resolved now.

> For example, I see that freshclam notifies clamd when the signatures
> are updated. Does clamav-milter also get these update notifications?

No - it polls periodically for updates.

> And if I install clamav-daemon, does clamav-milter automatically
> detect it's presence and make use? Or do I have to change the
> clamav-milter configuration?

You will have to add --external.

> I see the --external option in the clamav-milter(8) man page, but the
> explanation is confusing. I specify --external to tell clamav-milter
> to pass off scanning the mail to clamd, but how do I specify the
> LocalSocket (the man page says that when --external is used "The
> setting  in  clamd.conf  for  LocalSocket  or  TCPSocket  is ignored."

That appears to be wrong, or at least misleading.  clamav-milter looks
like it figures out how to talk to clamd by reading the config file,
unless --server has been passed, in which case it uses the specified
remote clamd instance.

> Finally, how would one tell that clamd is being used by clamav-milter,
> rather than the scanning being handled directly by clamav-milter?

Normally, when clamd is asked to scan a file, you'll see entries in the
clamav logfile of the form
date /path/to/file result

clamav-milter streams the file to clamd, so you'll see entries of the
form
date stream result.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Nothing so needs reforming as other     |
|  [EMAIL PROTECTED]             | people's habits.   -- Mark Twain,       |
|  http://www.lobefin.net/~steve | "Pudd'nhead Wilson's Calendar"          |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

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

Reply via email to