Hello, Le jeudi 22 mai 2008, Jonas Jacobsson a écrit : > Hi, > > I'm no expert in Linux and especially not amavis, so please bear that > in mind. > > I did an Debian apt-get upgrade a few days ago, and since about then > (not sure it's due to the upgrade though) I get these errors for > every mail amavis is trying to put in quarantine: > > May 22 22:07:57 moria amavis[9680]: (09680-01-15) (!)451 4.5.0 Local > delivery(1) to /var/lib/amavis/virusmails/W/spam-WuXUTlSaCg9b.gz > failed: Can't call method "value" on an undefined value at /usr/share/ > perl5/IO/Compress/RawDeflate.pm line 98. > May 22 22:07:57 moria amavis[9680]: (09680-01-15) (!!)TROUBLE in > check_mail: quar+notif FAILED: temporarily unable to quarantine: 451 > 4.5.0 Local delivery(1) to /var/lib/amavis/virusmails/W/spam- > WuXUTlSaCg9b.gz failed: Can't call method "value" on an undefined > value at /usr/share/perl5/IO/Compress/RawDeflate.pm line 98.,
I encountered exactly the same problem on my personal Debian Sid amavisd-new instance. This bug related to Debian perl migration process to 5.10. $ dpkg -S RawDeflate.pm perl: /usr/lib/perl/5.10.0/IO/Compress/RawDeflate.pm libio-compress-zlib-perl: /usr/share/perl5/IO/Compress/RawDeflate.pm $ dpkg -l perl libio-compress-zlib-perl |grep ^ii ii libio-compress-zlib-perl 2.011-1 Perl interface to zlib ii perl 5.10.0-10 Larry Wall's Practical Extraction and Report The bug has already been reported : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482056 You should dist-upgrade again your system. HTH, > id=09680-01-15 at /usr/sbin/amavisd-new line 10371. > May 22 22:07:57 moria amavis[9680]: (09680-01-15) (!)PRESERVING > EVIDENCE in /var/lib/amavis/tmp/amavis-20080522T220745-09680 > > When listing the directory: > > moria:/var/lib/amavis# ls -l > total 4900 > srwxr-x--- 1 amavis amavis 0 2008-05-20 17:47 amavisd.sock > drwxr-xr-x 2 amavis amavis 4096 2008-05-20 17:47 db > drwxr-xr-x 17328 amavis amavis 630784 2008-05-22 22:05 tmp > drwxr-xr-x 64 amavis amavis 4366336 2008-05-20 23:02 virusmails > moria:/var/lib/amavis# cd virusmails/ > moria:/var/lib/amavis/virusmails# ls -l > total 248 > drwxr-x--- 2 amavis amavis 4096 2008-05-20 23:02 0 > drwxr-x--- 2 amavis amavis 4096 2008-05-20 23:02 1 > drwxr-x--- 2 amavis amavis 4096 2008-05-20 23:02 2 > drwxr-x--- 2 amavis amavis 4096 2008-05-20 23:02 3 > ... > > The "evidence" saved in amavis/tmp looks like a normal (spam) mail. > > A mail that WAS put in quarantine in the same directory (W) has the > following header: > X-Amavis-Alert: BAD HEADER MIME error: error: unexpected end of preamble > > Not sure how to fix this and can't find anything useful when searching > the net or the amavis site. > > Please help me. > > /jonas > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ -- - Philippe Latu < G N U / Linux > philippe.latu(at)linux-france.org Projet inetdoc.Linux http://www.linux-france.org/prj/inetdoc </> < I U T 'A' Paul Sabatier > philippe.latu(at)iut-tlse3.fr - 05.62.25.80.28 Enseignant/Chargé de mission Systèmes & Réseau </> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/