How to Send Outgoing Email to More Than One Email Address with Postfix

104 3
    • 1). Log in to the mail server as a user with Postfix administrator rights.

    • 2). Open Postfix's "virtual" configuration file with a text editor. The specific way of performing this action depends on the operating system. For example, on Linux, type the following lines into a shell:

      cd /etc/postfix

      vi virtual

      Press "Enter" at the end of each line.

    • 3). Define a local (to the mail server) email address that reroutes messages to more than one addresses, by entering the following line in the "virtual" file:

      postmaster@mydomain.com james@harbin.mydomain.com,root@harbin.mydomain.com

      Replace "mydomain.com" by the domain name where the mail server is running, and "james@harbin" and "root@harbin" by the user names and host names within the domain where you want the email message to be rerouted. When Postfix processes an email addressed at "postmaster@mydomain.com," it will automatically route one copy of the email to each of the comma-separated addresses after the space ("james@harbin.mydomain.com" and "root@harbin.mydomain.com" in the example.)

    • 4). Save the contents of "virtual" and exit the text editor.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.