Fedora 12
Sponsored Link

Virtual Domains2010/06/13

  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.host and 'userA' has an email address userA@srv.world' now and 'userB' newly and Give him an email address 'userA@virtual.host'

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

# add at the bottom

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

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

# add at the head


[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