Mail Server : Virtual Domain Setting2024/05/30 |
Configure for Virtual Domain to send an email with another domain name different from original domain.
For example, |
|
[1] | Configure Virtual Domain. |
root@mail:~#
vi /etc/postfix/main.cf # add to last line virtual_alias_domains = virtual.host
virtual_alias_maps = hash:/etc/postfix/virtual
root@mail:~#
vi /etc/postfix/virtual # add
ubuntu@mail.virtual.host noble
postmap /etc/postfix/virtual root@mail:~# systemctl reload postfix |
[2] | Set new account on Email client and verify possible to send emails normally. |
Sponsored Link |
|