From: "Hafiz Abdurehman" <[EMAIL PROTECTED]> December 01, 2005 7:17 AM
Dear friends
my requirement-- virus status to be shown on the header of mail messages.
so I need some help on getting clamav-milter to work on sendmail.. I have
done the following
step 1:- Installed clam rpms clamd-0.85.1-1.1.fc.rf
,clamav-db,clamav-milter,clamav,clamav-devel
step 2:- Inserted the following line into sendmail.mc
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS',`clmilter')
as per the clamdoc.pdf
step 3:- used m4 and retarted sendmail
step 4:- started clamd
step 5:- started clamav-milter
which showed the folllowing error
Starting Clamav Milter Daemon: clamav-milter: socket-addr
(local:/var/clamav/clmilter.socket) doesn't agree with sendmail.cf
[FAILED]
_______________________________________________
I quess that you use Linux Fedora distribution
Please try to use current Clamav binary package (0.87.1)
http://www.clamav.net/binary.html#pagestart
At all:
The socket in the sendmail.mc file (after m4 sendmail.cf) for example
local:/var/run/clmilter.sock
MUST agree with socket_adress in the clamav-milter daemon start argument
for example
clamav-milter local:/var/run/clmilter.sock
Order of starting (very important!)
clamd
clamav-milter
Your approach is OK. Remove old packages, try again and report the results.
Best regards,
Jerzy
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html