I'd like to save the details (headers and contents) of all messages that are rejected when sent out from our server, so I can figure out why they might have been rejected.
Is there any way for postfix to save a message somewhere when it has been rejected?
Forwarding a copy to the root mail account would be fine.