Jean-Luc CHANDEZON: > Hello, > I believe my request is very simple, but I don't find how I can do that. > When you receive a NDR from postfix server, the mail is sent by > MAILER-DAEMON@hostname.local. > I would to change the sender. I've seen you can modify master.cf, by adding > "null_sender=" values in a pipe, but it does not work.
The null_sender option works as documented. It sets the ENVELOPE SENDER ADDRESS not the FROM header. Setting the FROM header of (non-)delivery notifications is unsafe, as it may cause mail error messages to go into a loop. Wietse