On 09/05/2019 17:53, Viktor Dukhovni wrote:
On May 9, 2019, at 7:31 AM, Arjen Van Drie <arjen-postfix-users-...@gugu.be>
wrote:
Isn't the bounce_size always larger than the original message_size due to added
postmaster delivery failure stanza?
Yes, but it can't be larger than the message size limit. Postfix
will not create queue files that exceed the limit.
Frankly I'd keep the bounce size limit smaller, you never know
what limits the bounce will encounter en-route back to the sender.
But in fact, my view is that bounces should always be headers-only,
and if you're sending important content whose only copy is in the
outbound message, which is "lost" if not delivered, then that's the
problem, fix the sending software to archive the outgoing message.
Bounces may happen at hops along the outbound path that you don't
control, and are more likely to be deliverable, the less they
contain that might run into content-specific filters.
I fully agree with you, if it were not that our application needs the
full message in the bounce. You indeed argue that we should rewrite the
application, and again I agree. For now, and for various reasons, that
just isn't possible.
Thanks to postfix we can use this workaround.
Arjen.