Don't know if this is what you are asking but I have 4 domains with 'virtual' webmail, i.e., mail.domain1.com, mail.domain2.com, etc.  I set it up using this:
 
http://openwebmail.org/openwebmail/download/redhat/howto/subdomain/HOWTO.TXT
 

 

 


From: webadmin-list-admin@lists.sourceforge.net [mailto:webadmin-list-admin@lists.sourceforge.net] On Behalf Of Vernon Webb
Sent: Sunday, November 28, 2004 11:39 AM
To: webadmin-list@lists.sourceforge.net
Subject: [webmin-l] VirtualMin and Shared IPs

I'm using VirtualMin and am trying to figure out the best way to setup my server for hosting web sites. I'm using OpenWebMail and want to make it available to all my users. However, OpenWebMail resides in the /var/www/html/cgi-bin for the server.

Now I do not want to have a separate IP address for every domain, but when I use the Shared IP option it now disables access to the OpenWebMail system seeing as the IP is now associated with a server and is no longer pointing to the /var/www/html/cgi-bin

What do others do to get around this issue?