SOURCECODEBD.NET

Live Experience

Virtual Hosting

Set config on SMTP Server.

[root@mail ~]# vi /etc/postfix/main.cf

# add these lines at the bottom
virtual_alias_domains = virtual.host
virtual_alias_maps = hash:/etc/postfix/virtual

[root@mail ~]# vi /etc/postfix/virtual

# add at the head
This email address is being protected from spambots. You need JavaScript enabled to view it.  userB
 
[root@mail ~]# postmap /etc/postfix/virtual
[root@mail ~]# /etc/rc.d/init.d/postfix restart

You are here: Home / Fedora Mail Server / Fedora_Mail / Virtual Hosting