Sponsored Link

Virtual Domain2019/01/24

Configure for 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 [sles] has an email address [],
the user [sles] uses the same name for before [@] with [suse].
[1] Configure Virtual Domain.
mail:~ #
vi /etc/postfix/
# line 785,786: uncomment

virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
mail:~ #
vi /etc/postfix/virtual
# add to the head of the file

# [virtual domain name] anything anything
# [virtual address] [real account name] sles
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