Mail Server : Set Virtual Domain2024/11/13 |
Configure for Virtual Domain to send an email with another domain name different from original domain.
For example, present domain name ⇒ srv.world |
|
[1] | Configure Postfix. |
[root@mail ~]#
vi /etc/postfix/main.cf # add to last line of the file # to set multiple domains, separate them with commas virtual_alias_domains = virtual.host
virtual_alias_maps = hash:/etc/postfix/virtual
[root@mail ~]#
vi /etc/postfix/virtual # add to head line of the file fedora@virtual.host redhat
postmap /etc/postfix/virtual [root@mail ~]# systemctl reload postfix |
[2] | Set new account to Email client and verify possible to send emails. |
Sponsored Link |