Fedora 20
Sponsored Link

Virtual Domain2014/01/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
nd user "fedora" has an email address fedora@mail.srv.world now
and Add "userB" newly and Give him an email address fedora@mail.virtual.host
[1] Configure for Virtula Domain
[root@mail ~]#
vi /etc/postfix/main.cf
# add at the last of lines

virtual_alias_domains = virtual.host
virtual_alias_maps = hash:/etc/postfix/virtual
[root@mail ~]#
vi /etc/postfix/virtual
# add at the head of lines

fedora@mail.virtual.host userB
[root@mail ~]#
postmap /etc/postfix/virtual

[root@mail ~]#
systemctl reload postfix.service

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