[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqwebmail
Subject:    Re: [sqwebmail] virtual domains
From:       "CyberCub" <cybercub () coffee-jitters ! com>
Date:       2002-08-30 3:21:12
[Download RAW message or body]

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 ----- 
  From: Ruben Marrero 
  To: sqwebmail@inter7.com 
  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. 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; CHARSET=UTF-8">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial 
size=2>####################################################<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 WEBMAIL 
SYSTEMS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp; 
#<BR>####################################################</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;VitrualHost ipaddress:port&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>ServerName webmail.clientdomain.com</FONT></DIV>
<DIV><FONT face=Arial size=2>ServerAlias webmail.client2domain.com</FONT></DIV>
<DIV><FONT face=Arial size=2>ServerAlias webmail.client3domain.com</FONT></DIV>
<DIV><FONT face=Arial size=2>DocumentRoot&nbsp;&nbsp;&nbsp; 
/path/to/docroot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>ScriptAlias /cgi-bin/&nbsp;&nbsp; 
"/path/to/sqwebmail/cgi-bin"<BR>DirectoryIndex&nbsp; 
/cgi-bin/sqwebmail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;/VirtualHost&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You can do that, if you do not want a subdomain.. 
then in the virtual host directive for each domain just add this..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ScriptAlias /webmail/ 
"path/to/sqwebmail/cgi-bn"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Bill. T.</FONT></DIV>
<DIV><BR>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=ruben@lingo.com.mx href="mailto:ruben@lingo.com.mx">Ruben Marrero</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=sqwebmail@inter7.com 
  href="mailto:sqwebmail@inter7.com">sqwebmail@inter7.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 29, 2002 1:18 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [sqwebmail] virtual 
domains</DIV>
  <DIV><BR></DIV>Hello all: <BR><BR>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&nbsp; something like <BR><BR><A 
  href="http://www.miclientdomain.com/cgi-bin/sqwebmail">http://www.miclientdomain.com/cgi-bin/sqwebmail</A> \
  <BR><BR>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. :-) <BR><BR>I'd appreciate any help with 
  this setup, pointers to a FAQ or list archives would be appreciated. 
  <BR><BR>Thanks in advance. <BR></BLOCKQUOTE></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic