At 02:11 PM Saturday, 3/21/2009, you wrote -=> >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
It is always something right in front of my nose that I miss. Thanks - that did the trick # The first syntax specifies a local unix socket (needs an bsolute path) e.g.: # ClamdSocket unix:/var/run/clamd/clamd.socket Ed ........................................................................... Randomly Generated Quote (513 of 1520): Desist from enumerating your fowl prior to their emergence from the shell. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml