[Mimedefang] A Bit of Confusion - Solved but different problemwith CLAMD

Lee Dilkie lee at dilkie.com
Sun Feb 22 12:49:22 EST 2004


>
> I have tried running clamd as user "defang", but clamd won't
> then start.

check clamav.conf.

the location of the pid file must be writable by the defang user as clamd is
running as dfang.

>
> I have added the user "defang" to the group "clamav", but I
> get errors when
> sending/receiving mail saying "Could not connect to clamd daemon at
> /var/spool/MIMEDefang/clamd.sock".
>
> This file does not exist either.

also inclamav.conf.

LocalSocket probably needs to be changed to point to where MD is expecting.

Or you can leave it where it is and modify your mimedefnag-filter and stick

$ClamdSock  = "/var/run/clamav/clamd"; (this is the default place for clamd
on freebsd).

in the top of mimedefang-filter. This will override the default in
mimedefang.pl

hope this helps.

-lee




More information about the MIMEDefang mailing list