Ubuntu 17.04
Sponsored Link

Virtual Domains
2017/04/26
 
Configure for Virtulal Domain to send an email with another domain name different from original domain.
present domain name ⇒ [srv.world]
new domain name ⇒ [virtual.host]
and user [ubuntu] has an email address [ubuntu@mail.srv.world]
and user [zapus], Give him an email address [ubuntu@mail.virtual.host].
[1] Configure Postfix for Virtual Domain.
root@mail:~#
vi /etc/postfix/main.cf
# add follows to the end

virtual_alias_domains = virtual.host
virtual_alias_maps = hash:/etc/postfix/virtual
root@mail:~#
vi /etc/postfix/virtual
# add

ubuntu@mail.virtual.host   zapus
root@mail:~#
postmap /etc/postfix/virtual

root@mail:~#
systemctl restart postfix

[2] Configure on client for new account and make sure to be able to send emails.
Matched Content
 
Tweet