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]
step 6:- edited sendmail.mc to
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/clamav/clmilter.socket,
T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS',`clmilter')
step 7:- restarted sendmail ,clamd
step 8:- restarted clamav-milter

which shows
Stopping Clamav Milter Daemon: [FAILED]
Starting Clamav Milter Daemon: [ OK ]

I cant find out why clamav-milter doesnt stop..
I am able to run clamscan ,clamdscan(gives me an access denied error when i
run it on root directories as root)
i require virus status on the header of my mail message on my webmail.
I have made little changes on clamd.conf
Do i have to make any specific entries in clamd.conf to get the virus status
to be displayed on the mail message header.

Ready to accept any suggestions and "firings" ...if i have done anything
wrong

regards

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

Reply via email to