On 8/24/08, MrC <[EMAIL PROTECTED]> wrote: > Clemens von Musil wrote: > > Hi, > > > > the day before yesterday, my amavis started to fail with following log > > line per scanned email: > > > > <snip> > > 451 4.5.0 Error in processing, id=18143-02, decoding2-get-file-types > > FAILED: 'file' utility (/usr/bin/file) failed, status=1 (256 ) at > > /usr/sbin/amavisd-new line 3853. (in reply to end of DATA command)) > > <snap> > > > > I did not update anything at the time. If executed manually, > > /usr/bin/file seems to work as usual. I reinstalles file and amavisd-new > > from repository with no success. > > > > I really don't know where to search any error. > > > Perhaps the file utility is failing on the particular decoded part of > the MIME encoded email. You may still have a directory in your amavis > tmp directory (/var/amavis/tmp perhaps?) that ends with 18143. There > will be an "email.txt" file and a "parts" sub-directory. Try running > file on each component and checking the exit status of each. > > > > > > I run amavisd-new 20030616 on a debian sarge machine. Do I have to > > upgrade amavis? > > > > Thanks for any suggestion! > > Clemente > >
Quite possibly goes back to a compatibility bug discovered a couple years ago. What version of Net::Server are you using? This old version of amavisd-new is not compatible with Net::Server > 0.90. You might need to downgrade to 0.90 (or 0.87). Do not use 0.88 or 0.89. perl -MNet::Server -e 'print "$Net::Server::VERSION\n";' But yes, the alternate is to upgrade to a newer version of amavsd-new. This works best if you upgrade from sarge to etch, but doing so is a major leap and could potentially cause your system to become unbootable. A long time ago I wrote a guide on upgrading 20030616p10 to 2.4.5: http://www200.pair.com/mecham/spam/upgrade245.html so this is another possibility. I also did some work on upgrading sarge to etch: http://www200.pair.com/mecham/spam/upgrade_etch.html but this is rather specific to another one of my HOWTOs. The best source of information is the Debian web site: http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading -- Gary V ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
