On Fri, 8 Oct 2004 09:06:40 -0500 (CDT), you wrote:

>Pete,
>
>In order to work with sendmail, you will seen to rebuild your sendmail.cf
>file. Also, in addition to having sendmail compiled with milter support,
>you will need the lib files for the sendmail milter. You can get these by
>getting the 13.1 code and building / installing juse the milter from the
>source.
>
>As for the cf file, you need to add (and correct) the following line to
>your sendmail.mc file.
>INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clamd/clmilter.sock, F=,
>T=S:4m;R:4m')
>
>You will need to change the location of the sock file to match your system.
>I would just grab the source clamav from the nightly cvs and go from there.
>
>Good luck
>
>- Ken

Hi Ken,

First of all, thanks for the speedy reply.

I have visited the 'libmilter' directory in my sendmail 13.1 directory, and
built/installed the libs. Hopefully. I didn't get any error messages. :/

I'd already got those 'milter-lines' in my sendmail.mc file, but just
commented out, as I'd had a go earlier, but failed.

I think things are definitely moving in the right direction, although I
could be wrong. I am confused though as to where to describe the path of the
'clmilter.sock'.

I looked in my /etc/clamd.conf file, and found the local socket was :

/tmp/clamd

There is no /var/run/clamd.... directory on my box. Do I have to make it
myself ?

I added the '/tmp/clamd' in to the line instead of the /var/run ... but got
this error :

451 4.0.0 /etc/mail/sendmail.cf: line 1679: Xclmilter: local socket name
/tmp/clamd unsafe: World writable directory

Hey, at least it's not the same error as before. :)

I think perhaps I'm in over my head here. :/ I'm not used to using CVS, so I
don't know what else to do.

Thanks for your input anyway. I'll keep bashing away.

Regards,

Pete.
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to