Fedora 11
Sponsored Link

Virtual Domains
2009/06/17
  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@srv.world' 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