Debian 10 Buster
Sponsored Link

Mail Server : Set Virtual Domain2019/08/02

Configure for Virtulal Domain to send an email with another domain name different from original domain.
This example is for the case you use OS user accounts.
If you use virtual mailbox accounts, refer to here.
For example,
present domain name ⇒
new domain name ⇒
a User [debian] has an email address [],
a User [buster] has an email address [],
the user [buster] uses the same name for before [@] with [debian].
[1] Configure Virtual Domain.
vi /etc/postfix/
# add to the end of the file

virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual
vi /etc/postfix/virtual
# add   buster
postmap /etc/postfix/virtual

systemctl restart postfix

[2] Set new account to Email client and make sure to be able to send emails.
Matched Content