Markus Schwengel:
>
> True, the message is generated locally. But this is exactly what I need.
>
> So the question remains the same: How can i tell postfix to not
> include the original message in the DSN or at least strip the
> attachment?
You can submit the message with "sendmail -N never" and get no DSN
at all.
Postfix currently doesn't implement the Sendmail "-R" command-line
option that controls whether a DSN returns a "full" or "headers
only" message. This option should be implemented when time is
available. Currently, it is silently ignored to avoid breaking
programs.
Wietse