On 2009-03-21 23:03, Ed Kasky wrote: > At 09:00 PM Wednesday, 3/18/2009, Steve Holdoway wrote -=> > >> On Tue, 17 Mar 2009 19:50:20 -0700 >> Ed Kasky <e...@esson.net> wrote: >> >> >>> Does the required entry in sendmail.mc change at all? >>> >>> INPUT_MAIL_FILTER(`clamav', >>> `S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m')dnl >>> define(`confINPUT_MAIL_FILTERS', `spf-milter,clamav')dnl >>> >>> Ed >>> >> I'm running with a couple extra timeous defined... >> >> INPUT_MAIL_FILTER(`clamav',`S=local:/var/run/clamav/clmilter.sock, >> F=, T=S:4m;R:4m;C:30s;E:10m')dnl >> >> but the real work is getting the milter running from the config >> file, and separate from the clamd stuff. >> >> I've been running from svn for a while ( the last stable release >> proving unstable on my VPS-based implementation - which by design >> has no swap ), and it's been solid as a rock. >> >> Steve >> > > I think I'm almost there... > > I figured out the init script but now the milter is having trouble > with the clamd socket. > > From the milter log: > Sat Mar 21 13:42:02 2009 -> +++ Started at Sat Mar 21 13:42:02 2009 > Sat Mar 21 13:42:02 2009 -> ERROR: Failed to parse ClamdSocket > directive '/var/run/clamav/clamd.sock' > Sat Mar 21 13:42:02 2009 -> ERROR: Failed to init the socket pool > > srwxrwxrwx 1 clamav clamav 0 Mar 21 13:41 /var/run/clamav/clamd.sock > > From clamd.conf: > LocalSocket /var/run/clamav/clamd.sock > FixStaleSocket yes > TCPSocket 3310 > TCPAddr 127.0.0.1 > > From clamav-milter.conf: > User clamav > ClamdSocket /var/run/clamav/clamd.sock
Hi, Use "ClamdSocket unix:/var/run/clamav/clamd.sock" Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml