2011/9/8 Fernando Maior <[email protected]>
> On Thu, Sep 8, 2011 at 10:22 AM, Wietse Venema <[email protected]>
> 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
> >> [email protected].
> >> 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 "[email protected]
> "
> 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)
>
Hi Fernando,
Yes, for end user, the MAILER-DAEMON appears like the sender, which is empty
("<>").
Yes, you're right, I want to change this value.
The "mydomain" and "my hostname" values are no used on my postfix
configuration file "main.cf".
I'll try to investigate "smtp_generic_maps".
Best Regards,
Jean-Luc