On Mon, Feb 03, 2014 at 11:48:28PM +0100, Oliver Eales wrote:
> The (5) bounce man page states:
> --snip----
> bounce_size_limit (default: 50000)
> The maximal amount of original message text that is sent in a
> non-delivery notification. Specify a byte count. A message is
> returned as either message/rfc822 (the complete original) or as
> text/rfc822-headers (the headers only). With Postfix version 2.4
> and earlier, a message is always returned as message/rfc822 and is
> truncated when it exceeds the size limit.
> --snip--
>
> My question is:
>
> When will postfix generate a bounce with the mail (partially)
> attached as message/rfc822
When the message is shorter than bounce_size_limit.
> and when will it generate a bounce which only contains the headers
> (text/rfc822-headers)
When the message is longer than bounce_size_limit.
> Is this somehow configurable ?
By setting bounce_size_limit, for example setting it to "1" (smallest
allowed value), you can force all bounces to contain only the headers.
--
Viktor.