[AMaViS-user] postfix+amavisd-new+perl5.8.7 on debian sarge

This is a discussion on [AMaViS-user] postfix+amavisd-new+perl5.8.7 on debian sarge within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello, I=B4ve following problem with amavisd-new. I=B4m trying to use it on debi= an=20 (sarge) machine (...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-16-2005
Jiøí Èervenka
 
Posts: n/a
Default [AMaViS-user] postfix+amavisd-new+perl5.8.7 on debian sarge

Hello,
I=B4ve following problem with amavisd-new. I=B4m trying to use it on debi=
an=20
(sarge)
machine (perl 5.8.7) with postfix. But when I try to run amavisd-new debu=
g,
i receive this:
gate:/home/ogeen# amavisd-new debug
Subroutine AUTOLOAD redefined at /etc/perl/IO/Zlib.pm line 84.
Subroutine isaFilehandle redefined at /etc/perl/IO/Zlib.pm line 99.
Subroutine isaFilename redefined at /etc/perl/IO/Zlib.pm line 108.
Subroutine gzopen redefined at /etc/perl/IO/Zlib.pm line 115.
Subroutine ParseParameters redefined at /etc/perl/IO/Zlib.pm line 132.
Subroutine deflateInit redefined at /etc/perl/IO/Zlib.pm line 198.
Subroutine inflateInit redefined at /etc/perl/IO/Zlib.pm line 210.
Subroutine Compress::Zlib::deflateStream::deflateParams redefined at=20
/etc/perl/IO/Zlib.pm line 220.
Subroutine compress redefined at /etc/perl/IO/Zlib.pm line 249.
Subroutine uncompress redefined at /etc/perl/IO/Zlib.pm line 280.
Subroutine memGzip redefined at /etc/perl/IO/Zlib.pm line 319.
Subroutine _removeGzipHeader redefined at /etc/perl/IO/Zlib.pm line 350.
Subroutine memGunzip redefined at /etc/perl/IO/Zlib.pm line 409.
Aug 16 13:21:26 gate amavisd-new[29247]: starting. amavisd-new at gate=20
amavisd-new-20030616-p10, Unicode aware
Aug 16 13:21:26 gate amavisd-new[29247]: Perl version 5.008=
007
Aug 16 13:21:26 gate amavisd-new[29247]: Module Amavis::Conf 1.15
Aug 16 13:21:26 gate amavisd-new[29247]: Module Archive::Tar 1.23
Aug 16 13:21:26 gate amavisd-new[29247]: Module Archive::Zip 1.16
Aug 16 13:21:26 gate amavisd-new[29247]: Module Compress::Zlib 1.34
Aug 16 13:21:26 gate amavisd-new[29247]: Module Convert::TNEF 0.17
Aug 16 13:21:26 gate amavisd-new[29247]: Module Convert::UUlib 1.051
Aug 16 13:21:27 gate amavisd-new[29247]: Module MIME::Entity 5.417
Aug 16 13:21:27 gate amavisd-new[29247]: Module MIME::Parser 5.417
Aug 16 13:21:27 gate amavisd-new[29247]: Module MIME::Tools 5.417
Aug 16 13:21:27 gate amavisd-new[29247]: Module Mail::Header 1.67
Aug 16 13:21:27 gate amavisd-new[29247]: Module Mail::Internet 1.67
Aug 16 13:21:27 gate amavisd-new[29247]: Module Net::Cmd 2.26
Aug 16 13:21:27 gate amavisd-new[29247]: Module Net::SMTP 2.29
Aug 16 13:21:27 gate amavisd-new[29247]: Module Net::Server 0.88
Aug 16 13:21:27 gate amavisd-new[29247]: Module Time::HiRes 1.72
Aug 16 13:21:27 gate amavisd-new[29247]: Module Unix::Syslog 0.99
Aug 16 13:21:27 gate amavisd-new[29247]: Found myself:=20
/usr/sbin/amavisd-new -c /etc/amavis/amavisd.conf
Aug 16 13:21:27 gate amavisd-new[29247]: Lookup::SQL code NOT loade=
d
Aug 16 13:21:27 gate amavisd-new[29247]: Lookup::LDAP code NOT loade=
d
Aug 16 13:21:27 gate amavisd-new[29247]: AMCL-in protocol code NOT loade=
d
Aug 16 13:21:27 gate amavisd-new[29247]: SMTP-in protocol code loaded
Aug 16 13:21:27 gate amavisd-new[29247]: ANTI-VIRUS code loaded
Aug 16 13:21:27 gate amavisd-new[29247]: ANTI-SPAM code NOT loade=
d
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server:=20
2005/08/16-13:21:27 Amavis (type Net::Server::PreForkSimple) starting!=20
pid(29247)
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Binding to TCP=20
port 10024 on host 127.0.0.1
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Setting gid to=20
"1000 1000"
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Setting uid to "107=
"
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Setting up=20
serialization via flock
Aug 16 13:21:27 gate amavisd-new[29247]: Found $file at /usr/bin/fi=
le
Aug 16 13:21:27 gate amavisd-new[29247]: Found $arc at=20
/usr/bin/nomarch
Aug 16 13:21:27 gate amavisd-new[29247]: Found $gzip at /bin/gzip
Aug 16 13:21:27 gate amavisd-new[29247]: Found $bzip2 at /usr/bin/bz=
ip2
Aug 16 13:21:27 gate amavisd-new[29247]: No $lzop, not using it
Aug 16 13:21:27 gate amavisd-new[29247]: Found $lha at /usr/bin/lh=
a
Aug 16 13:21:27 gate amavisd-new[29247]: Found $unarj at /usr/bin/ar=
j
Aug 16 13:21:27 gate amavisd-new[29247]: Found $uncompress at=20
/bin/uncompress
Aug 16 13:21:27 gate amavisd-new[29247]: No $unfreeze, not using it
Aug 16 13:21:27 gate amavisd-new[29247]: Found $unrar at /usr/bin/un=
rar
Aug 16 13:21:27 gate amavisd-new[29247]: Found $zoo at /usr/bin/zo=
o
Aug 16 13:21:27 gate amavisd-new[29247]: Found $cpio at /bin/cpio
Aug 16 13:21:27 gate amavisd-new[29247]: Found primary av scanner ESET=20
Software NOD32 at /usr/local/nod32/nod32
Aug 16 13:21:27 gate amavisd-new[29247]: Found primary av scanner ESET=20
Software NOD32 - Client/Server Version at /usr/local/nod32/nod32cli
Aug 16 13:21:27 gate amavisd-new[29247]: No secondary av scanner: Clam=20
Antivirus - clamscan
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Beginning prefork=20
(2 processes)
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Starting "2" childr=
en
Aug 16 13:21:27 gate amavisd-new[29251]: Net::Server: Child Preforked=20
(29251)
Aug 16 13:21:27 gate amavisd-new[29247]: Net::Server: Parent ready for=20
children.
Aug 16 13:21:27 gate amavisd-new[29252]: Net::Server: Child Preforked=20
(29252)
Aug 16 13:23:21 gate amavisd-new[29247]: Net::Server:=20
2005/08/16-13:23:21 Server closing!

When I start amavisd-new using /etc/init.d/amavisd-new I=B4m able to make=
=20
postfix to transfer emails to amavis,
but those are not delivered and mail is returned with this message:
This is the Postfix program at host gate.sps-pi.cz.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<cervenka@sps-pi.cz>: Command died with status 255: "/usr/sbin/amavisd-ne=
w".
Command output: Subroutine AUTOLOAD redefined at /etc/perl/IO/Zlib.pm lin=
e
84. Subroutine isaFilehandle redefined at /etc/perl/IO/Zlib.pm line 99.
Subroutine isaFilename redefined at /etc/perl/IO/Zlib.pm line 108.
Subroutine gzopen redefined at /etc/perl/IO/Zlib.pm line 115. Subroutine
ParseParameters redefined at /etc/perl/IO/Zlib.pm line 132. Subroutine
deflateInit redefined at /etc/perl/IO/Zlib.pm line 198. Subroutine
inflateInit redefined at /etc/perl/IO/Zlib.pm line 210. Subroutine
Compress::Zlib::deflateStream::deflateParams redefined at
/etc/perl/IO/Zlib.pm line 220. Subroutine compress redefined at
/etc/perl/IO/Zlib.pm line 249. Subroutine uncompress redefined at
/etc/perl/IO/Zlib.pm line 280. Subroutine memGzip redefined at
/etc/perl/IO/Zlib.pm line 319. Subroutine _removeGzipHeader redefined at
/etc/perl/IO/Zlib.pm line 350. Subroutine memGunzip redefined at
/etc/perl/IO/Zlib.pm line 409. Unknown argument. Usage:
/usr/sbin/amavisd-new [ -c config-file ] ( [ start ] | stop | reload |
debug | debug-sa | foreground )

Postfix is configured this way:
main.cf :
...
content_filter =3D smtp-amavis:127.0.0.1:10024
...

master.cf :
...
smtp-amavis unix - n n - 10 pipe user=3Damavis argv=3D/usr/sbin/amavisd-n=
ew=20
${sender} ${recipient}
localhost:10025 inet n - n - - smtpd -o content_filter=3D

Thank you for any help


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0