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 ⇒ srv.world
new domain name ⇒ virtual.host a User [suse] has an email address [suse@mail.srv.world], a User [sles] has an email address [suse@mail.virtual.host], the user [sles] uses the same name for before [@] with [suse]. |
|
[1] | Configure Virtual Domain. |
mail:~ #
vi /etc/postfix/main.cf # 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 virtual.host anything # [virtual address] [real account name] suse@mail.virtual.host sles postmap /etc/postfix/virtual mail:~ # systemctl reload postfix |
[2] | Set new account to Email client and make sure to be able to send emails. |
Sponsored Link |