----- Original Message -----
From: "Martin Kos" <[EMAIL PROTECTED]>
To: "Jesse Guardiani" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 10:33 AM
Subject: Re: [sqwebmail] NEW: logindomainlist patch


> hi jesse!
>
> On Tue, 25 Feb 2003, Jesse Guardiani wrote:
>
> >New! An updated version of my 'domainmap' patch, without the domainmap
> >file, and with a bunch more functionality!
> works fine! great patch!
>
> i have an idea/question to extend the patch.... i use for all my domains
> the same web-template and i use a vhost in apache with mail.*  so if
> somebody goes to mail.hisdomain.com he only needs to enter his username
> without the domain. until now i've use a php-site that replaces the
> domain-field of the login-page with the http_host (without mail.), but the
> problem is that if the user enters a wrong password or logs out of his
> webmail, the thing with the domain doesn't work anymore because gets to
> the sqwebmail.cgi-loginpage and not the php-site.  one way would be to
> enter all my domains in your new logindomainlist, but i've thought it
> would be easier if i could use in the logindomainlist something like
> *:mail.*:*
> so that all domains starting with mail. have the right "domain" presented.
> in apache i have already the configuration for my webmail-logins created
> with this, instead of creating for every domain a virtual host. would that
> be a big change in your patch?

Martin, I have just submitted a proposal for a new 'defaultdomain' file that
is similar to what you suggest. However, I currently haven't thought of a
way to automate prepending the 'mail.' part to a domain. The advantage to
having a separate 'defaultdomain' file over what you suggest is that the
logindomainlist file would then have the capability to override or overload
the 'default' value. Let me think about this. Maybe I can implement some
sort of rewrite rule or something.

(What did I tell you Kurt? You make it one file, and suddenly people want
regular expression matching!)


>
> thanks for this great patch!
>
>  Martin
>
> btw: how are you (not specially jesse, but everybody that uses sqwebmail)
> doing the SSL-encryption, i mean: i have different domains on one
> IP-address and i use https for the login, but i have the problem that if
> every user has a virtual host (http) for his webmail-domain
> (mail.domain1.com, mail.domain2.com ...) and he uses this to login, the
> the login goes over httpS://mail.domain1.com and httpS://mail.domain2.com
> and so on, and as i can have only one certificate per IP-address, the user
> gets an warning that the certificate-host is not the same as
> mail.domain1.com ... because the certificate was created for
> mail.mydomain.com.  is there a way to tell sqwebmail to use only one
> httpS-host for the login? haven't found a configure-option. i hope my
> english isn't toooo bad ;-)
> --
> Martin Kos                                 Handy +41-76-384-93-33
> http://kos.li/        ICQ# 13556143        Fax +49-89-244-323-681
>                   Say NO to HTML in mail
>    Proudly running Debian GNU/Linux. See http://www.debian.org/
>
>
>


Reply via email to