Postfix: Rewrite sender on outgoing mails

With Postfix you can rewrite the sender, respectively the from-headers for outgoing mails. Prerequesite is an existing Postfix installation. Create the /etc/postfix/sender_canonical, with the following example content (you may use spaces or tabs to separate the columns): root www-data Next create the sender_canonical.db file: postmap hash:/etc/postfix/sender_canonical […]