Do the following:

ls -la /var /var/run /var/run/clamav /var/run/clamav/clamd.sock

chmod go-w <any dirs with w in group or other>

Be sure that this will not break other things that expect wider permissions on /var/....

Or, put the sendmail stuff in it's own directory, like /var/clamav and make sure that it doesn't have any w-bits on anywhere above itself.

You will find that there are numerous terse answers and lots of RTFM responses from a wide number of the mailing list members, especially since this is a sendmail operational issue and not a clamav issue.

Eric

On Sun, 11 Dec 2005, Obantec Support wrote:

Date: Sun, 11 Dec 2005 18:25:02 -0000
From: Obantec Support <[EMAIL PROTECTED]>
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
To: ClamAV users ML <clamav-users@lists.clamav.net>
Subject: Re: [Clamav-users] Re: clamav-milter  & sendmail

----- Original Message -----
From: "Nigel Horne" <[EMAIL PROTECTED]>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
Sent: Sunday, December 11, 2005 6:09 PM
Subject: Re: [Clamav-users] Re: clamav-milter & sendmail


On Sun, 2005-12-11 at 18:01, Obantec Support wrote:

Dec 10 20:01:58 proteus2a sendmail[29655]: jBAK1wmP029655: Milter
(clamav):
local socket name /var/run/clamav/clamav-milter.sock unsafe

This is discussed in .../clamav-milter/INSTALL

Mark

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk

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

Hi Nigel

I tried setting clmilter.sock in place of clamav-milter.sock but then
clamav-milter throws up the error as per my email 10/12

clamav is chmod 700 uid.gid clamav
LocalSocket is /var/run/clamav/clamd.sock

All looks as per Fedora3 settings apart from the sendmail name for the sock.

Mark

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


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

Reply via email to