Greetings:

I am running qmail 1.03, vpopmail 4.9.6 and sqwebmail 1.2.5 in a virtual subhosting 
environment. Many of our clients are small Spanish towns and each would like its own 
sqwebmail so that citizens could have their own "[EMAIL PROTECTED]" email addresses.

For the first town, I have configured sqwebmail in the following way (Navarcles is the 
name of the town):

./configure --enable-webpass=vpopmail \
--enable-autopurge=7 \
--with-htmllibdir=/usr/local/share/sqwebmail/html/navarcles \
--enable-cgibindir=/www/navarcles_webmail/cgi-bin \
--enable-imagedir=/www/navarcles/media \
--enable-imageurl=http://www.navarcles.com/media/ \
--with-maxargsize=3000000 \
--with-maxformargsize=3000000 \
--without-ispell \

Everything works perfectly, but because sqwebmail is a site-wide program, folks from 
other towns on the server can also log in to the Navarcles sqwebmail program. Would it 
require an extensive hack of the code to be able to install multiple versions of 
sqwebmail with different "default domain" parameters? This way, when people from 
Navarcles went to http://webmail.navarcles.com/cgi-bin/sqwebmail they would only fill 
in their usernames; they would get a login screen like:

        ------------------
Login: |                | @navarcles.com
        ------------------

The "@navarcles.com" would be hard-coded in.

People from Calders would go to  http://webmail.calders.com/cgi-bin/sqwebmail and get:

        ------------------
Login: |                | @calders.com
        ------------------

etc.

Would anyone else find this useful? I'm competent in Perl but C is still terra 
icognito. But if someone were willing to give me a start, this might be a good time to 
start learning.
-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com

Reply via email to