Ubuntu 12.04
Sponsored Link

Virtual domain2012/05/14

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 pangolin@mail.srv.world
and Add userB newly and Give him an email address pangolin@mail.virtual.host
[1] Configure for Virtula Domain
vi /etc/postfix/main.cf
# add at the last line

virtual_alias_domains = virtual.host
virtual_alias_maps = hash:/etc/postfix/virtual
vi /etc/postfix/virtual
# add

pangolin@mail.virtual.host   UserB
postmap /etc/postfix/virtual

service postfix reload

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