Fedora 10
Sponsored Link

Virtual Domains2008/12/14

  Configure for Virtulal Domain to send an email with another domain name different from original domain. This example set config as, current domain name ⇒ srv.world new domain name ⇒ virtual.info and 'userA' has an email address userA@linux.info' now and 'userB' newly and Give him an email address 'userA@virtual.info'

[1] Configure for Virtula Domain
[root@mail ~]#
vi /etc/postfix/main.cf


# add at the bottom

virtual_alias_domains = virtual.info
virtual_alias_maps = hash:/etc/postfix/virtual


[root@mail ~]#
vi /etc/postfix/virtual


# add at the head

userA@virtual.info
userB


[root@mail ~]#
postmap /etc/postfix/virtual

[root@mail ~]#
/etc/rc.d/init.d/postfix restart

Shutting down postfix:
[ OK ]

Starting postfix:
[ OK ]
[2] Configure for new account on client computer.

Matched Content