On Mon, Nov 14, 2005 at 11:51:11PM +0100, Jasper Slits wrote:
Regarding to my sendmail man page -f is used to "Set the envelope sender address. This is the address where delivery problems are sent to, unless the message contains an Errors-To: message header."
Since the envelope sender can not be set because of the safe_mode restriction, my version adds the "Errors-To:" header as the man page suggests.
Please note the following from the Postfix Changelog.
Cleanup: support for the non-standard Errors-To: header is removed. File: cleanup/cleanup_message.c.
*grr* once you believe what the postfix sendmail man page says and then it's non-standard :-/. Forget what I wrote...
We should still try to find a way around the 5th parameter though.
Or tell people that a requirement for mail() is safe_mode = Off. People might get around this problem by using the mailserver way of sending mails in this case.
Balu