AMaViS Problems.... Someone please help.

2000-07-28 Thread Jeremy Fowler

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


http://www.unixzone.com/virus/ is down.

2000-07-19 Thread Jeremy Fowler

Anybody know where I can get the qmail compatible version of Amavis?

Thanks,
Jeremy Fowler
mailto:[EMAIL PROTECTED]



Amavis problems

2000-07-19 Thread Jeremy Fowler

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?)