Tag Archives: postfix virtual domain centos 6 rhel 6

Setup Virtual Domain Postfix

Scenario:
– Forward certain email recipient to another email address.
– Forward local Unix account email address to another email recipient because in the Postfix server don’t have mailbox.

System:
Postfix on CentOS 7/RHEL 7 (also work on CentOS 6/RHEL 6)

Steps:
– Edit main.cf
# vi /etc/postfix/main.cf
Edit the below parameter.

virtual_alias_domains = example1.com,example2.com
virtual_alias_maps = hash:/etc/postfix/virtual

Continue reading