Sponsored Link

Virtual Domain2015/11/25

Configure Postfix to use Virtulal Domain to send an email with another domain name different from original domain.
For example,
present domain name ⇒
new domain name ⇒
a User [suse] has an email address [],
a User [novel] has an email address [],
the user [novel] uses the same name for before [@] with [suse].
[1] Configure Virtual Domain Settings.
mail:~ #
vi /etc/postfix/
# line 750,751: uncomment

virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
mail:~ #
vi /etc/postfix/virtual
# add follows to the end

# [virtual domain name] anything anything
# [virtual address] [read account name] novel
mail:~ #
postmap /etc/postfix/virtual

mail:~ #
systemctl reload postfix

[2] Set new account to Email client and make sure to be able to send emails.
Matched Content