Equipe R&S Netplus:
> Hello,
>
> I would like to change the sender according to the recipient.
> Example :
> My sender in normal condition is : [email protected]
> When I send to [email protected], I would like to change my sender to
> [email protected]
> When I sent to [email protected], I would like to conserve the
> sender identity.
>
> Is it possible ?
Seriously, this should be addressed in the mail sending app,
not in Postfix.
If the sending app is written in PHP, see the PHP mail manpage for
how to set the envelope sender address.
additional_parameters (optional)
The additional_parameters parameter can be used to pass additional
flags as command line options to the program configured to be
used when sending mail, as defined by the sendmail_path
configuration setting. For example, this can be used to set the
envelope sender address when using sendmail with the -f sendmail
option.
Wietse