Matthew, > > Jul 13 12:07:37 MYSERVER sm-mta-rx[11810]: j6DGiNkn007630: > > to=<[EMAIL PROTECTED]>, delay=03:23:14, xdelay=00:00:14, mailer=esmtp, > > pri=58440458, relay=[127.0.0.1] [127.0.0.1], dsn=4.5.0, stat=Deferred: > > 451 4.5.0 Error in processing, id=11801-01, mime_decode-1 FAILED: > > Maximum number of files (1500) exceeded at /usr/local/sbin/amavisd > > line 4465. > > > > Is this telling me that there were 1500 files in the email? Or > > perhaps that my /var/amavis/tmp/ directory has 1500 files in it?
Yes, it resulted in 1500 files and further decoding was stopped. Besides a mail bomb, it could just be a broken MIME mail with lots (e.g. nested) boundary lines, which sometimes occur when a mail loop is broken. > > shouldn't amavis reject mail (drop, reject etc) in a little nicer way > > than this? In other words, I don't want to defer such a message, > > because it just keeps bouncing and failing, I want to drop or reject it. There was a problem with enforcing file limit during initial MIME decoding, which resulted in deferring a mail, instead of labeling it as a potential mail bomb and (by default) delivering it, but wrapped in a message/rfc822 wrapper (defanged) and a warning placed in the Subject and the first MIME part. This behaviour was fixed in 2.3.2. From release notes: BUG FIXES since 2.3.1: - do not enforce $MAXFILES limit during MIME decoding to avoid tempfailing mail; MIME parts are still counted, so an exceeded limit may still be reported during subsequent decoding, but this is handled more gracefully and does not cause preserved temporary directories to be left behind; reported by Marcin Lemanski; Mark ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ 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/