AMaViS Problems.... Someone please help.
Setup: Redhat 6.1 Linux server, running qmail-1.03. I ran: ./configure --enable-debug -enable-logfile --enable-x-header=yes make make install I moved /usr/sbin/amavis to /var/qmail/bin/qmail-queue and copied of the original qmail-queue to qmail-queue-real. Sent three test emails from Outlook. A plain text email, a plain test email with an attached EICAR.COM, and a plain text email with an attached Excel spreadsheet. The first one went though fine. The second one amavis caught the EICAR.COM file and sent out two notification emails. One to virusalert and the other to the sender of the email. No notification was sent to the recipient. The last one with the Excel spreadsheet didn't go through at all. It just hangs. Other people in the office were sending email to the server as well and two others emails got stuck. I have attached the logs. The three processes to look at are 11580, 11731, and 11739. All three of these processes I had to kill. From the debug file I can see that the virus scanners are working from the emails that went through, but on those three processes that hang, it appears it they don't even reach the scanners. I attached the smtp and qmail log files, as well as the debug and the amavis.log files. One other thing I noticed, is that even though I specified the --enable-x-header=yes, no x-header is appended to the headers of scanned emails. I believe it is a problem with one of my perl modules, or even perl itself. So I am debating whether or not to remove my entire perl installation and start from scratch, or to try to figure out what is going wrong and where in the current setup. Any help from you folks is greatly appreciated. Thanks, Jeremy Fowler amavis.log qmail-7-28-00.log debug smtpd-7-28-00.log
Re: AMaViS Problems.... Someone please help.
Jeremy Fowler wrote: [To: Jeremy: please subscribe to amavis-user first before posting. And don't post such large attachments. Thanks ] Sent three test emails from Outlook. A plain text email, a plain test email with an attached EICAR.COM, and a plain text email with an attached Excel spreadsheet. The first one went though fine. The second one amavis caught the EICAR.COM file and sent out two notification emails. One to virusalert and the other to the sender of the email. No notification was sent to the recipient. The last one with the Excel spreadsheet didn't go through at all. That's normal behaviour currently in AMaViS-Perl. Wo do not send virus notification messages to recipient(s) as it's not regarded as good behaviour to post them in mailing lists. Maybe this will be configurable in one of the next releases. It just hangs. Other people in the office were sending email to the server It hungs on all Excel files? Strange. I will test it later. One other thing I noticed, is that even though I specified the --enable-x-header=yes, no x-header is appended to the headers of scanned emails. This is a known issue of AMaViS-Perl-7. It's fixed in CVS stuff. I believe it is a problem with one of my perl modules, or even perl itself. See README file which Perl modules we use. Please have a look at search.cpan.org if you're using the latest ones. So I am debating whether or not to remove my entire perl installation and start from scratch, or to try to figure out what is going wrong and where in the current setup. Any help from you folks is greatly appreciated. I will forward your mail also to Lars, as he is currently working on AMaViS-Perl (I'm currently working most of my time on the "old" AMaViS stuff) best regards, Rainer Link (AMaViS Developer) -- Rainer Link | Student of Computer Networking [EMAIL PROTECTED] | University of Applied Sciences, Furtwangen, Germany rainer.w3.to | http://www.computer-networking.de/
Re: [Fwd: Amavis problems] (fwd)
Hi! Please read below. -- Rainer Link, SuSE GmbH, eMail: [EMAIL PROTECTED], Web: www.suse.de Developer of A Mail Virus Scanner (AMaViS): http://amavis.org/ Founder of Linux AntiVirus Project: http://lavp.sourceforge.net/ -- Forwarded message -- Date: Thu, 20 Jul 2000 15:50:46 +0200 From: Marc Lehmann [EMAIL PROTECTED] To: Rainer Link [EMAIL PROTECTED] Subject: Re: [Fwd: Amavis problems] (fwd) On Thu, Jul 20, 2000 at 11:20:28AM +0200, Rainer Link [EMAIL PROTECTED] wrote: Please read the forwarded message elow. As I'm currently very busy with other stuff, I did not tested it. But it sounds like a bug in the new Convert-UUlib to me. Thanks Can't locate loadable object for module Convert::UUlib in @INC (@INC Convert::UUlib obviously isn't installed correctly. I doubt this has anything to do with Convert::UUlib, but rather something with incorrect permissions... -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Amavis problems
I installed amavis-perl-7 to use with qmail (made a copy of qmail-queue and called it qmail-queue-real and copied over the amavis script with the qmail-queue and made sure the owner was qmailq, group was qmail, and mode was 4711). However something is wrong with the Convert-UUlib module. Here is the error I get in the smtpd logs: tcpserver: pid 30435 from 192.168.100.52 tcpserver: ok 30435 red.westrope.com:192.168.100.2:25 :192.168.100.52::4413 Can't locate auto/Convert/UUlib/autosplit.ix in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005) at /usr/lib/perl5/5.00503/AutoLoader.pm line 127. at /usr/lib/perl5/site_perl/5.005/i386-linux/Convert/UUlib.pm line 7 Can't locate loadable object for module Convert::UUlib in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005) at bin/qmail-queue line 34 BEGIN failed--compilation aborted at bin/qmail-queue line 34. tcpserver: end 30435 status 0 tcpserver: status: 0/40 tcpserver: status: 1/40 I reran the make install for the Convert-UUlib here is the output: cd uulib make all make[1]: Entering directory `/home/jfowler/perl/modules/amavis/Convert-UUlib-0.11/uulib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/jfowler/perl/modules/amavis/Convert-UUlib-0.11/uulib' Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/UUlib.so (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/UUlib.bs (unchanged) Files found in blib/arch -- Installing files in blib/lib into architecture dependend library tree! Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/Convert/UUlib.pm (unchanged) Skipping /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/autosplit.ix (unchanged) Skipping /usr/lib/perl5/man/man3/Convert::UUlib.3 (unchanged) Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Convert/UUlib/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod Any help? (I'm not a perl guru as you may have guessed. It's probably a simple fix for the @INC variable, any ideas on how I can fix this?)