I'm working on upgrading to spamassassin 3.1.7 and amavisd-new 2.4.2 (what's in backports, basically) and one mail (spam) fail with the following log:
There are 19 image attachments, several with the same filename, here's an example from the log: Jan 19 14:36:43 liksom3 amavis[19850]: (19850-07) Charging 6876 bytes to remaining quota 314110567 (out of 314572800, (0%)) - by mime_decode Jan 19 14:36:43 liksom3 amavis[19850]: (19850-07) p020 1/20 Content-Type: image/gif, size: 6876 B, name: Gresk-95.gif Jan 19 14:36:43 liksom3 amavis[19850]: (19850-07) reparenting p020 from p000 to p021 Ending with: Jan 19 14:36:43 liksom3 amavis[19850]: (19850-07) prolong_timer mime_decode-1: remaining time = 480 s Jan 19 14:36:43 liksom3 amavis[19850]: (19850-07) decode_parts: level=1, #parts=21 : p001, p002, p003, p004, p005, ... Jan 19 14:36:43 liksom3 amavis[19850]: (19850-07) (!!) TROUBLE in check_mail: parts_decode_ext FAILED: run_command (open pipe): Can't fork at /usr/lib/perl/5.8/IO/File.pm line 70, <GEN53> line 8941. (Cannot allocate memory) at /usr/sbin/amavisd-new line 2216, <GEN53> line 8941. Later on, postfix defers the mail: Jan 19 14:36:43 liksom3 postfix/smtp[21676]: A794B664C8: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=401, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=19850-07, parts_decode_ext FAILED: run_command (open pipe): Can't fork at /usr/lib/perl/5.8/IO/File.pm line 70, <GEN53> line 8941. (Cannot allocate memory) at /usr/sbin/amavisd-new line 2216, <GEN53> line 8941. (in reply to end of DATA command)) (The log has not been obfuscated in any way. There are no real users on the server.) Now, this upgraded amavis is running in a sandbox with a lot less memory than the box that actually will be receiving mail, so an out of memory-message is not unexpected. However, the mail isn't actually delivered in any way. Shouldn't there be a better way of handling such situations? How about defanging the mail in questions and sending it on with "amavis at so and so couldn't check this mail because <reason>, so take care"? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
