Re: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
WOOHOO! Rock on dude! Sendmail didn't like option two so I changed the ownership of the /var/run/clamav directory and ran clamd as defang and that fixed us right up! Thanks again, Stephen - Original Message - From: "David F. Skoll" <[EMAIL PROTECTED]> To: Sent: Thursday, November 30, 2006 10:05 AM Subject: Re: [Mimedefang] Ek MIME::Parser::ParanoidFiler Stephen Loeckle wrote: Nov 30 09:49:17 mail mimedefang.pl[10044]: kAUFnFOa010050: Clamd returned error: /var/spool/MIMEDefang/mdefang-kAUFnFOa010050/Work: lstat() failed. Clamd does not have read access inside that directory. There are a couple of ways to fix it: 1) Run clamd as the "defang" user instead of "clamav" 2) Add "clamav" to the "defang" group (if there is one) and make /var/spool/MIMEDefang's group "defang" and make it group-readable and group-executable. Regards, David. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
RE: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
> Ok I tried these two lines: > $Features{'Virus:CLAMD'} = '/usr/sbin/clamd'; > $ClamdSock = '/var/run/clamav/clamd.ctl'; > and I got the following. I appreciate everyone's patience and help with this > one. I just can't figure it out and I want to do it the right way... When you built CLAM, you did use the "--with-user=defang --with-group=defang" options with the "configure" step, right? Ken ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
Stephen Loeckle wrote: > Nov 30 09:49:17 mail mimedefang.pl[10044]: kAUFnFOa010050: Clamd > returned error: /var/spool/MIMEDefang/mdefang-kAUFnFOa010050/Work: > lstat() failed. Clamd does not have read access inside that directory. There are a couple of ways to fix it: 1) Run clamd as the "defang" user instead of "clamav" 2) Add "clamav" to the "defang" group (if there is one) and make /var/spool/MIMEDefang's group "defang" and make it group-readable and group-executable. Regards, David. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
Ok I tried these two lines: $Features{'Virus:CLAMD'} = '/usr/sbin/clamd'; $ClamdSock = '/var/run/clamav/clamd.ctl'; and I got the following. I appreciate everyone's patience and help with this one. I just can't figure it out and I want to do it the right way... Stephen Nov 30 09:49:17 mail mimedefang.pl[10044]: kAUFnFOa010050: Clamd returned error: /var/spool/MIMEDefang/mdefang-kAUFnFOa010050/Work: lstat() failed. Nov 30 09:49:17 mail mimedefang.pl[10044]: Problem running virus scanner: code=999, category=swerr, action=tempfail Nov 30 09:49:17 mail mimedefang.pl[10044]: filter: kAUFnFOa010050: tempfail=1 Nov 30 09:49:17 mail mimedefang[10042]: kAUFnFOa010050: Tempfailing because filter instructed us to Nov 30 09:49:17 mail sm-mta[10050]: kAUFnFOa010050: milter=mimedefang, reject=451 4.3.0 Problem running virus-scanner Nov 30 09:49:17 mail sm-mta[10050]: kAUFnFOa010050: Milter: data, reject=451 4.3.0 Problem running virus-scanner Nov 30 09:49:17 mail sm-mta[10050]: kAUFnFOa010050: --- 451 4.3.0 Problem running virus-scanner (hold) Nov 30 09:49:17 mail sm-mta[10050]: kAUFnFOa010050: to=<[EMAIL PROTECTED]>, delay=00:00:00, pri=31349, stat=Problem running virus-scanner Nov 30 09:49:17 mail sm-mta[10050]: kAUFnFOa010050: --- 451 4.3.0 Problem running virus-scanner (held) - Original Message - From: "Steffen Kaiser" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 21, 2006 8:23 AM Subject: RE: [Mimedefang] Ek MIME::Parser::ParanoidFiler -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Nov 2006, Stephen Loeckle wrote: $Features{'Virus:CLAMAV'} = '/usr/bin/clamdscan'; or $Features{'Virus:CLAMAV'} = '/usr/sbin/clamd'; There is also 'Virus:CLAMD' And tried with and without: $ClamdSock = '/var/run/clamav/clamd.ctl'; Has the mdefang user write permission to this socket? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iQEVAwUBRWML3egJIbZtwg6XAQLsmQf9GHI4ncpvBSlttcfNSVM3W8uKG8dCi73S Uc7jl9rLR6oxWTRNeDN7XqQcbGvTnEul5A9hR2h+bby9m1uMcfdP2uoEPgkYJJqN UHVE9gNvIkz2jrdc2OsDSgMIDDqx0yg302IIJJwGESBhiVb5NXx/5fjxTcCAASC/ 04sNduo9t3VWCGVxUxjXf1l35zqPMEHdOXPD2DQf+hJFxLMvPMk5c98iHsF5Lxfw RqNfPDKyJfpWLtgZD47ZlAd577ZX64riQ31/jfhUb1LbgVpZbL1QeyQ6pNCURy+/ WFSqHCFb3XvJ4CN5Fcm7ZzshiSjrNCyR1VyvWNRsEWCDyS3fkXwqfA== =ccsw -END PGP SIGNATURE- ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Nov 2006, Stephen Loeckle wrote: with the entry of: "$Features{'Virus:CLAMAV'} = '/usr/bin/clamscan';". But when I use: "$Features('Virus:CLAMAV') = '/usr/sbin/clamd';" or ^^ wrong parenthizes. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iQEVAwUBRV1m/+gJIbZtwg6XAQJYlwf/aO0fj4R24J2nJeKE//PVdl84BXKaFWxs YBL9msRojFq2SUCXIMsFcL2Mp35JkDn96M+5WJXXzlCB0qY5/pjabgCvdp7vpSRS egvEz0QczoljQOqoMh/62r8p9E4sO/YF25UZ8VoiFMGNchKyvOad5yrNDk+Ewn1G gztlMITzIdxFbTF+nayVaO35FrCk4BQjGz9OekQ5CbMW4YlOkjY67k2ou2GRVJh1 05/hQyeVxWw/5c484pfMGpnp2bxEnp2Hb2oHtFBC9evGNWvlIFANnawJydqnGf3Q /funy5ETrBPnllL7Beo/S3/wBXIy9aa6lcCbWd3XQcc95JSX4n6FlA== =OErV -END PGP SIGNATURE- ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
David F. Skoll wrote: Stephen Loeckle wrote: But when I use: "$Features('Virus:CLAMAV') = '/usr/sbin/clamd';" or "$Features{'Virus:CLAMAV'} = '/usr/bin/clamdscan';" You must have a typo somewhere. There's no way those lines should produce that message. What does mimedefang.pl -test say? Hey Dave, Does it matter that one has () while the other has {} ? ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
Stephen Loeckle wrote: > But when I use: > "$Features('Virus:CLAMAV') = '/usr/sbin/clamd';" or > "$Features{'Virus:CLAMAV'} = '/usr/bin/clamdscan';" > I get the following error message: > Nov 6 17:06:29 mail mimedefang-multiplexor[31564]: Slave 1 stderr: > Can't locate object method "new" via package > "MIME::Parser::ParanoidFiler" at /usr/bin/mimedefang.pl line 5254. You must have a typo somewhere. There's no way those lines should produce that message. What does mimedefang.pl -test say? Regards, David. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
[Mimedefang] Eeeeek MIME::Parser::ParanoidFiler
Hi Everyone, I have an odd problem I need a little help with. I am using the debian mimedefang package and everything works fine with my mimedefang.pl.conf file with the entry of: "$Features{'Virus:CLAMAV'} = '/usr/bin/clamscan';". But when I use: "$Features('Virus:CLAMAV') = '/usr/sbin/clamd';" or "$Features{'Virus:CLAMAV'} = '/usr/bin/clamdscan';" I get the following error message: Nov 6 17:06:29 mail mimedefang-multiplexor[31564]: Slave 1 stderr: Can't locate object method "new" via package "MIME::Parser::ParanoidFiler" at /usr/bin/mimedefang.pl line 5254. I'd like to use the clam daemon so I can speed up a server with 450 people on it. Any ideas? Thanks!! Stephen ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang