Re: [Clamav-users] amavisclamav: Socket communication failure
Content-type: Multipart/Alternative; boundary=Alt-Boundary-8157.30078100 --Alt-Boundary-8157.30078100 .. $ v /var/run/clamav/clamd.ctl srwxrwxrwx1 amavis amavis 0 Jun 7 19:55 /var/run/clamav/clamd.ctl OK, your are running both processes under user amavis - I think so. That's right. I've got no idea if the socket permissions have any bad results in your situation. They shouldn't as the user matches. I did _not_ set them manually. The socket is created with such ones. I must add that I use postfix (while you - sendmail). So I can't help you more, I'm afraid :-( . I also use postfix with amavisd-new But I think there were some wrong entries in /sbin/conf.d/SuSeconfig.sendmail (I'm not shure amavis-new and not amavisd-new ??). 2nd try different PidFiles for clamd and amavisd-new (but I'm also unable to test it, because postfix ...). cu Juergen -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] (postmaster / [EMAIL PROTECTED]) --Alt-Boundary-8157.30078100 ?xml version=1.0 ?html head title/title /head body div align=leftfont face=Arial color=#7fspan style=font-size:10pt../span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; gt; gt; /span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; gt; gt; $ v /var/run/clamav/clamd.ctl/span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; gt; gt; srwxrwxrwx#160;#160;#160; 1 amavis#160;#160; amavis#160;#160; 0 Jun#160; 7 19:55/span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; gt; gt; /var/run/clamav/clamd.ctl/span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; gt; /span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; gt; OK, your are running both processes under user amavis - I think so./span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; /span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; That's right./span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; /span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; I've got no idea if the socket permissions have any bad results in/span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; your situation. They shouldn't as the user matches. I did _not_ set/span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; them manually. The socket is created with such ones./span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; /span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; I must add that I use postfix (while you - sendmail). So I can't help/span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; you more, I'm afraid :-( ./span/font/div div align=leftfont face=Arial color=#7fspan style=font-size:10ptgt; /span/font/div div align=leftfont face=Arialspan style=font-size:10ptI also use postfix with amavisd-new /span/font/div div align=leftfont face=Arialspan style=font-size:10ptBut I think there were some wrong entries in /sbin/conf.d/SuSeconfig.sendmail (I'm not shure amavis-new and not amavisd-new ??)./span/font/div div align=leftbr/ /div div align=leftfont face=Arialspan style=font-size:10pt2nd try different PidFiles for clamd and amavisd-new (but I'm also unable to test it, because postfix ...)./span/font/div div align=leftbr/ /div div align=leftfont face=Arialspan style=font-size:10ptcu Juergen/span/font/div div align=leftbr/ /div div align=leftfont face=Arialspan style=font-size:10pt-- /span/font/div div align=leftfont face=Arialspan style=font-size:10pt[EMAIL PROTECTED]/span/font/div div align=leftfont face=Arialspan style=font-size:10pt-- /span/font/div div align=leftfont face=Arialspan style=font-size:10pt[EMAIL PROTECTED] (postmaster / [EMAIL PROTECTED])/span/font/div /body /html --Alt-Boundary-8157.30078100-- --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] Configuring ClamAV for allowing certain attachments
Hi Terry, maybe you need to change your amavisd.conf like ... $banned_filename_re = new_RE( qr'\.[a-zA-Z][a-zA-Z0-9]{0,3}\.(vbs|pif|scr|bat|com)$'i, # double extension # qr'\.(exe|vbs|pif|scr|bat|com)$'i, # banned extension ... There is nothing to do with clamav. Hope it's the solution. cu Juergen Hi again, Since upgrading to ClamAV 0.71 ( just prior to that the latest version of Amavis-new), I notice that our server is now rejecting certain attachments it didn't under ClamAV 0.65, such as .exe etc..., out of hand, without being scanned. Is this a function of ClamAV, or is it set in the Amavis-new config? Any assistance much appreciated. -- Bye for now, Terry Allen -- [EMAIL PROTECTED] (postmaster / [EMAIL PROTECTED]) -- [EMAIL PROTECTED] (postmaster / [EMAIL PROTECTED])