On Thu, Sep 8, 2011 at 10:22 AM, Wietse Venema <wie...@porcupine.org> wrote: > 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 >
Hi Jean-Luc, Let me try to understand, you want to change "MAILER-DAEMON@hostname.local" for something else? In that case, what do you have for parameters "mydomain" and "myhostname"? Also, did you get a look at "http://www.postfix.org/SOHO_README.html"? Perhaps you may find it interesting the parameter "smtp_generic_maps". Best regards, --- Fernando Maciel Souto Maior LPIC/1(31908), LinuxCounter(391325)