OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
How can I setup the virtual mail for each domain?

yeskwms15.hinet.net
Date: Thu Jan 01 2004 - 22:23:27 CST


I have 2 virtual domains, suppose they are aaa.com, bbb.com,
I also have a domain suppose host.com, it has an entry in /etc/passwd
file, aaa.com, bbb.com have not real account on the server,
and joeaaa.com != joebbb.com

in the DNS

1.I added the following to /etc/named.conf:

zone "aaa.com" {
        type master;
        file "named.aaa";
        allow-update { none; };
};

2. changed forward/service for them properly
   then ping aaa.com no proble

in the Postfix, I added the following to the main.cf options
myudestination:

debug_peer_list = 127.0.0.1 host.com
mydestination = $myhostname, localhost.$mydomain, $mydomain, aaa.com
mydomain = host.com
myhostname = ms.host.com

and then reload postfix.

After that above steps done, it becomes joehost.com == joeaaa.com,
and it requires an entry in /etc/passwd for virtual domains

the host is runing Redhat 9, bind, postfix-1.1.12-1 and imap-devel-2001a-18.
does anyone know where to find the tutorial documents about it?
Thank you.