What I did for my virtual clients was 1st for each domain made a webmail subdomain. Then in apache here is what I use in apache.
####################################################
#              WEBMAIL SYSTEMS                                          #
####################################################
<VitrualHost ipaddress:port>
ServerName webmail.clientdomain.com
ServerAlias webmail.client2domain.com
ServerAlias webmail.client3domain.com
DocumentRoot    /path/to/docroot            
ScriptAlias /cgi-bin/   "/path/to/sqwebmail/cgi-bin"
DirectoryIndex  /cgi-bin/sqwebmail        
</VirtualHost>
 
You can do that, if you do not want a subdomain.. then in the virtual host directive for each domain just add this..
 
ScriptAlias /webmail/ "path/to/sqwebmail/cgi-bn"
 
That way they can do thierdomain.com/webmail, I would add a index.html that would load the sqwebmail cgi script, otherwise it would just show them the directory and not startup sqwebmail... Better to do the above.. Good luck hope that helps
 
Bill. T.

----- Original Message -----
Sent: Thursday, August 29, 2002 1:18 PM
Subject: [sqwebmail] virtual domains

Hello all:

I want to setup sqwebmail on my server. This server is a Linux box with qmail+vpopmail+ezmlm. Since I host some virtual domains Iwant to have a central webmail engine for all of them. I think it's possible, but the user has to choose which domain he wants to logon to, right? I would like them to go to  something like

http://www.miclientdomain.com/cgi-bin/sqwebmail

just type their login name and password and start a webmail session. Templates are not that important at the moment, but they will be a nice addition in the future. As a last thing, I would like the whole sqwebmail interface to be localized in Spanish. :-)

I'd appreciate any help with this setup, pointers to a FAQ or list archives would be appreciated.

Thanks in advance.

Reply via email to