Ubuntu 10.04
Sponsored Link

Virtual Domains2010/07/25

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

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


# add at the bottom

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


root@mail05:~#
vi /etc/postfix/virtual


# add

lucid@mail.virtual.host
UserB


root@mail05:~#
postmap /etc/postfix/virtual

root@mail05:~#
/etc/init.d/postfix reload

  * Reloading Postfix configuration...
  ...done.
[2] Configure on client for new account and verify sending emails.
 
Matched Content