Debian 7.0
Sponsored Link

Virtual domain2013/05/11

Configure for Virtulal Domain to send an email with another domain name different from original domain. This example set config as,
present domain name ⇒
new domain name ⇒
and userA has an email address
and Add userB newly and Give him an email address
[1] Configure for Virtula Domain
vi /etc/postfix/
# add at the last line

virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual
vi /etc/postfix/virtual
# add   UserB
postmap /etc/postfix/virtual

/etc/init.d/postfix restart

Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
[2] Configure on client for new account and make sure to be able to send emails.
Matched Content