Arjen Van Drie:
> Hi List,
> 
> searching the manual pages, the Internet and the postfix-users archives 
> gave me no answer to my question, so I post it here.
> 
> We have an application that sends out emails with attachments. These 
> attachments contain specific data not contained in the email body 
> accompanying the attachment. These emails are sent out by a mail server 
> running postfix.
> 
> What I would like to do is upon hard bounce of the message, to include 
> the full original message, including attachment.
> 
> man 5 bounce does not tell me how to do that, but man 5 postconf tells me:
> 
> [...]
> 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).
> [...]
> 
> When testing, I always get the headers only with a bounce. How do I get 
> the full message sent with the bounce?

Specify a large enough bounce_size_limit.

If you disagree, provide concrete evidence:

- "postconf -n" evidence that the bounce_size_limit is set to some value X.

- logfile evidence that Postfix receives a message of size Y less than X.

- logfile evidence that Postfix returns a smaller message than Y to the sender.

        Wietse

Reply via email to