Ryan, > I've gotten a few emails coming in, both from MSN that I've seen so far, > that have a large amount of blank lines after the last MIME boundary. I've > attached a sample I edited from a real email. > > Basically the email itself is normal length, but all the blank lines ended > up getting decoded as a MIME part and is saved as one very long blank file. > When amavis runs the external file command, file itself eats up 100% cpu > and ends up timing out. I've upgraded MIME::Tools to the latest on CPAN, > and running Amavisd-new 2.5.2 with file 4.21. Anyone else seen this sort of > behavior before, and/or any suggestions as to fix it?
Yes, it is a problem with newly introduced regexps in a file utility's 'magic' database, and their interaction with a regexp library on some versions of Linux (same regexps work fine with *BSD regexp library). See asa-2007-3.txt item 4 ( http://www.amavis.org/security/ ). Complain to the maintainer of a file utility, asking for a version which avoids such unbound regexps. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/
