Set Virtual Domain


Set Virtual Domain
2014/07/21
 
Configure Postfix to use Virtulal Domain to send an email with another domain name different from original domain.
For example, 
present domain name ⇒ server.world
new domain name ⇒ virtual.host
a User [cent] has an email address [cent@mail.server.world],
a User [redhat] has an email address [cent@mail.virtual.host],
the user [redhat] uses the same name for before [@] with [cent].
[1]Set 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 follows to the head

cent@mail.virtual.host redhat
[root@mail ~]# 
postmap /etc/postfix/virtual 

[root@mail ~]# 
systemctl reload postfix 
[2]Set new account to Email client and make sure to be able to send emails.

Comentários

Postagens mais visitadas deste blog

Razer anuncia Wolverine Ultimate, o controle para Xbox One e PC mais personalizável do mercado

HyperX lança kit de teclas texturizadas e em novas cores para personalização de teclados gamers

O Valor da Tecnologia Bem Feita: O Papel da TI que Sustenta o Futuro