You are viewing an old revision of this post, from January 13, 2016 @ 08:45:21. See below for differences between this version and the current revision.

Postfix: change sender in sending messages

Postfix: how to change change sender address in sending messages? Here is the answer, it will rewrite old-address to new-address automatically. You can define file to maps old-address to new-address.
/etc/postfix/main.cf:
    smtp_generic_maps = hash:/etc/postfix/generic

/etc/postfix/generic:
    [email protected]       [email protected]
Don't forget to postmap /etc/postfix/generic and run postfix reload
  • Upside: You doesn't need to requeue the message
  • Downside: Postfix will rewriting sender and recipient address that matching [email protected].
 

Revisions

  • January 13, 2016 @ 08:45:21 [Current Revision] by admin
  • January 13, 2016 @ 08:45:21 by admin

Revision Differences

There are no differences between the January 13, 2016 @ 08:45:21 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply