Pete,

First:

http://www.clamav.net/snapshot/clamav-devel-latest.tar.gz

This is where you can get the nightly CVS snapshot.
as for the error: 451 4.0.0 /etc/mail/sendmail.cf: line 1679: Xclmilter:
local socket name /tmp/clamd unsafe: World writable directory

it means the permissions on the directory /tmp/clamd allow anyone write
permissions.

Here are the permissions on my box:
/var/run: drwxr-xr-x  15 root root 4096 Oct  5 13:17 run
/var/run/clamd: drwxr-xr-x  2 clamav clamav 4096 Oct  5 08:02 clamd

Note the clamd directory is owned by the user that all my clamav products
run as and only that user has write permission in that directory.

- Ken

> 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
>
>


-- 
Ken Jones
[EMAIL PROTECTED]
(630) 548-1627 (Home)
(630) 263-3574 (Cell)
https://www.kenandlori.com

Y! : [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
AIM: ptownjones
ICQ: 9807841


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

Reply via email to