Thanks for your answer but its happening the same. It seems that the system (before apply your change was the same) recognizes some kind of viruses,
Fri Apr 16 16:07:25 2004 -> stream: Worm.Bagle.H-zippwd-1 FOUND Fri Apr 16 16:39:29 2004 -> SelfCheck: Database status OK. Fri Apr 16 17:40:05 2004 -> SelfCheck: Database status OK. Fri Apr 16 18:40:41 2004 -> SelfCheck: Database status OK. Fri Apr 16 19:41:17 2004 -> SelfCheck: Database status OK. Fri Apr 16 20:00:35 2004 -> stream: Exploit.IFrame.Gen FOUND In my .qmail file for the user, i have | /var/qmail/bin/preline procmail -p -m /home/vpopmail/domains/mydomain/info/procmailrc Thanks in advance ----- Original Message ----- From: "Andrey Melnikoff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 4:39 PM Subject: Re: Clamav+Qmail not scanning mail files > In article <[EMAIL PROTECTED]> you wrote: > > Hello! > > > I'm trying to configure qmail + spamassassin + procmail + clamav > > unsuccessfully. Qmail + spamassassin + procmail is working fine but when i > > try tu put clamav it seems that is not scanning properly the mail files. > > I've configured the same system over sendmail without problems. > > > The clamav seems to be installed fine because its parsing archive files from > > file system and here is an example. > > > # Scan Archives > > /home/vpopmail/domains/mydomain/info/Maildir/new/1082011193.3207_0.mydomain: > > Worm.SomeFool.P FOUND > > /home/vpopmail/domains/mydomain/info/Maildir/new/1082011288.3509_0.mydomain: > > Worm.SomeFool.Q FOUND > > > If anyone can tell me what I'm missing... My system configuration is > > [skipp] > > > # My Procmail configuration to tell clamav to scan mails is > > AV_REPORT=`clamdscan --stdout --disable-summary - | cut -d: -f 2` > Try this: > AV_REPORT=`formail|clamdscan --stdout --disable-summary - | cut -d: -f 2` > > > VIRUS=`if [ "$AV_REPORT" != " OK" ]; then echo Yes; else echo No;fi` > > > ----- Original Message ----- From: "Xisco Fern�ndez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 8:02 AM Subject: [Clamav-users] Clamav+Qmail not scanning mail files > Hello! > > I'm trying to configure qmail + spamassassin + procmail + clamav > unsuccessfully. Qmail + spamassassin + procmail is working fine but when i > try tu put clamav it seems that is not scanning properly the mail files. > I've configured the same system over sendmail without problems. > > The clamav seems to be installed fine because its parsing archive files from > file system and here is an example. > > # Scan Archives > /home/vpopmail/domains/mydomain/info/Maildir/new/1082011193.3207_0.mydomain: > Worm.SomeFool.P FOUND > /home/vpopmail/domains/mydomain/info/Maildir/new/1082011288.3509_0.mydomain: > Worm.SomeFool.Q FOUND > > If anyone can tell me what I'm missing... My system configuration is > > REDHAT 6.2 > > #QMAIL > qmail 1.03 (SMTP) > pop3d (servidor POP de qmail) + vpopmail 5.2.1 (POP3) > > #GCC compiler > gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) > > #Perl packages > Archive::Tar -- 1.08 > Archive::Zip -- 1.10 > Compress::Zlib -- 1.33 > Convert::TNEF -- 0.17 > DB_File -- 1.808 > Digest -- 1.05 > Digest::HMAC -- 1.01 > Digest::MD5 -- 2.33 > Digest::SHA1 -- 2.07 > ExtUtils::MakeMaker -- 6.21 > File::MMagic -- 1.22 > File::Spec -- 0.87 > HTML::Parser -- 3.35 > HTML::Tagset -- 3.03 > IO -- 1.20 > IO-stringy -- ??? > List::Util -- 1.13 > MD5 -- 1.7 > MIME-tools -- ??? > MIME::Base64 -- 3.00 > Mail -- ??? > Mail::Audit -- 2.1 > Mail::SpamAssassin -- 2.63 > Net -- ??? > Net::DNS -- 0.46 > Net::Telnet -- 3.03 > Perl -- 5.00503 > Pod -- ??? > Pod::Parser -- 1.14 > Term::ANSIColor -- 1.08 > Test -- 1.24 > Test::Harness -- 2.40 > Test::Simple -- 0.47 > Text -- ??? > Time::HiRes -- 1.56 > Time::Local -- 1.07 > > ZLIB > # rpm -q zlib > zlib-1.1.3-6 > # rpm -q zlib-devel > zlib-devel-1.1.3-6 > > # My Procmail configuration to tell clamav to scan mails is > AV_REPORT=`clamdscan --stdout --disable-summary - | cut -d: -f 2` > VIRUS=`if [ "$AV_REPORT" != " OK" ]; then echo Yes; else echo No;fi` > > :0fw > | formail -i "X-Virus: $VIRUS" > > :0fw > * ^X-Virus: Yes > | formail -i "Virus: $AV_REPORT" > > :0 > * ^X-Virus: Yes > /var/spool/mail/root > > > > ------------------------------------------------------- > 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 > > ------------------------------------------------------- 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
