Fedora 14
Sponsored Link

Virtual Domains2010/11/07

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

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

# add at the last line

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

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

# add at the head


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

[root@mail03 ~]#
/etc/rc.d/init.d/postfix reload

Reloading postfix:
[ OK ]

[2] Configure on client for new account and make sure to be able to send emails.
Matched Content