The clamav-milter is started with this option:
[EMAIL PROTECTED] log]# cat /etc/sysconfig/clamav-milter CLAMAV_FLAGS="--max-children=2 local:/var/clamav/clamav.sock" [EMAIL PROTECTED] log]#
Both sockets are created in /var/clamav, here comes the directory listing: [EMAIL PROTECTED] root]# ls -al /var/clamav total 12 drwxr-xr-x 2 clamav clamav 4096 Mar 22 13:43 . drwxr-xr-x 26 root root 4096 Mar 4 10:30 .. srwxr-xr-x 1 clamav clamav 0 Mar 22 13:43 clamav.sock -rw-rw---- 1 clamav clamav 5 Mar 22 13:43 clamd.pid srwxrwxrwx 1 clamav clamav 0 Mar 22 13:43 clamd.sock [EMAIL PROTECTED] root]#
It is run as user clamav, specified in the clamav.conf file, and they are both running (ps listing):
28289 ? S 0:00 /usr/local/sbin/clamd
28300 ? S 0:00 clamav-milter --max-children=2 local:/var/clamav/clamav.sock
But the error messages is still the same (in maillog, there is no messages in /var/log/messages):
[EMAIL PROTECTED] etc]# cat /var/log/maillog | grep Milter
Mar 22 13:56:55 mail sendmail[28567]: i2MCut72028567: Milter: connect: host=sgs21.eurotel.cz, addr=160.218.10.221, temp failing commands
[EMAIL PROTECTED] etc]#
D.T.
Nigel Horne wrote:
Top posting to make it more readable - flames will be ignored. Please reply using top post to make it easier to follow the history.
Try updating to a later version, since it may give more helpful messages in /var/log/messages.
What options do you give to clamav-milter when starting it (on linux that'll probably be in /etc/sysconfig/clamav-milter)?
Where do you create the two sockets required for clamav-milter (one for sendmail<->clamav-milter dialogue
and one for clamav-milter<->clamd dialogue)? Assuming they're in /var/run/clamav please do: "ls -la /var/run/clamav".
What value do you have for User in clamav.conf - does that user have the correct permissions to create the
sockets?
Using ps, are both clamd and clamav-milter running?
-Nigel
On Monday 22 Mar 2004 10:49 am, David Toman wrote:
Nigel Horne wrote:
What version of clamav-milter? (clamav-milter --version will tell youclamav-milter version 0.66n
this)
What version of clamav (clamscan -V will tell you this)clamav version 0.67
What operating system?It's RedHat Linux 9, with all available updates applied
What configuration settings have you done?I ran the configure script with --enable-milter option
Have you read .../clamav-milter/INSTALL?
Yes, I have added the appropriate INPUT_MAIL_FILTERS definition to the sendmail.mc file and generated new sendmail.cf file
Have you enabled LogSysLog in clamav.conf, if so what appears in
/var/log/maillog and /var/log/messages?
Yes, I have. Here is the error message: Mar 4 10:50:11 mail sendmail[4111]: i249oBhq004111: Milter: connect: host=breg.mc.mpls.visi.com, addr=208.42.156.101, temp failing commands
I'm sorry for not including the SW versions in my first email
Thanks, David
--
This message was written using recycled electrons.
Linux is like a wigwam - no windows, no gates, apache inside!
-- This message was written using recycled electrons. Linux is like a wigwam - no windows, no gates, apache inside! -- David Toman IT Specialist Wiken International-Prague, s.r.o. Thunovska 12 118 00 Praha 1 Czech Republic
Tel +420 251 102 111 Fax +420 251 102 122 Mobile +420 602 693 740 [EMAIL PROTECTED]
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users