That did the trick! thanks a bunch Pat. It's working great now.
Sincerely, Kiryl. On Fri, 2004-02-13 at 09:45, Pat Masterson wrote: > On Fri, 13 Feb 2004, Nigel Horne wrote: > > >On Friday 13 Feb 2004 4:32 am, Kiryl Hakhovich wrote: > > > >> if i change the socket of milter to /tmp/ it is working good. > >> but i need it to be in /var/run/ > > > >There in lies the issue. It must be something to do with permissions. > >Do "ls -ld /var/run" and post here, that may give a clue why the socket can't be > >created. > > > >-Nigel > > > I had the same problem trying to get the milter to be able to write that > socket. > I found that once I "fixed" the permissions on /var/run/ to be open to > clamav, sendmail complained of "unsafe" writeable directories, and > wouldn't start. > So I do this in my start scripts: > > # start the clamav milter: > chmod 777 /var/run > /usr/local/sbin/clamav-milter -bloq /var/run/clmilter.sock > sleep 5 > chmod 755 /var/run > # > > -pat > > *-----------------------------------------------------------------------------* > * Pat Masterson B38-01, Northrop Grumman, * Ham:KE2LJ > * South Oyster Bay Rd. Plant 1. * President Grumman Amateur > * Bethpage, NY 11714 * Radio Club WA2LQO > * email: [EMAIL PROTECTED] Fone: 516-346-7125 * www.qsl.net/wa2lqo > *-----------------------------------------------------------------------------* > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users -- Administrator, Kiryl Hakhovich 718-777-6457 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users