Erick Calder: > On Sep 24, 2009, at 4:21 PM, Wietse Venema wrote: > > > If Postfix announces a size limit of X, many SMTP clients won't > > attempt to send larger messages, and Postfix won't accept a larger > > message (and thus Postfix will not generate a bounce email message). > > > > If you must configure Postfix to accept messages larger than X, > > (and then return it to the sender) then you would have to use a > > content filter to return the message with custom text. Postfix > > does not have different templates for different error types; it > > only distinguishes between delayed mail and other errors. > > that had been my hope: that I could just find the template used to > reject mail on the basis of size. I imagine Postfix does do that > (reject on the basis of size) since it would be unsafe to assume the > clients respect the stated limit.
The Postfix SMTP server discards mail that exceeds the configured size limit, and responds with a 5XX status at end-of-data, meaning that it did not accept the message. Wietse