List Info

Thread: Variable for which site, rather than domain name




Variable for which site, rather than domain name
country flaguser name
United States
2007-06-28 17:28:31
Hi All,


Not sure exactly how to describe this one, so here's an
explanation.

We have a SurgeMail server, mail.domain.com, and
mail.domain.com
also has a valid SSL certificate.

We have a client MX/mail server that goes through
mail.domain.com
called mail.client.com.

https://mail.domain.com -
for webmail - valid SSL, no error.

https://mail.client.com -
SSL error, not a valid cert (obviously).

We'd like to direct all webmail/domain admin through the
main
domain, mail.domain.com. Is there a way to tell the main
mail
server which domain is logging in, without the domain being
mail.client.com?

e.g. https
://mail.domain.com/?domain=mail.client.com

Or does it rely completely on the domain name?


cheers,
Richard


Re: Variable for which site, rather than domain name
country flaguser name
United States
2007-06-28 17:40:14
Hi Richard,

Sounds like I'm doing exactly what you want on my Surgemail server. It requires a few manual changes to the Templates.

In login.tpl add

<input type="hidden" name="select_domain" value="||domain||">;

and you'll be able to access your other domains via syntax like https://mail.domain.com/scripts/webmail.exe?domain=mail.client.com . The user then won't have to enter his domain as part of the username.


You'll also want to modify a couple other template files such as logout.tpl and error.tpl, changing occurrences of "cmd=%20" to "domain=||domain||".


Hope this helps!

Regards,


Bob


Richard McLean wrote:
%5B192.168.0.2%5D" type="cite">Hi All,


Not sure exactly how to describe this one, so here's an explanation.

We have a SurgeMail server, mail.domain.com, and mail.domain.com
also has a valid SSL certificate.

We have a client MX/mail server that goes through mail.domain.com
called mail.client.com.

https://mail.domain.com - for webmail - valid SSL, no error.

https://mail.client.com - SSL error, not a valid cert (obviously).

We'd like to direct all webmail/domain admin through the main
domain, mail.domain.com. Is there a way to tell the main mail
server which domain is logging in, without the domain being
mail.client.com?

e.g. https://mail.domain.com/?domain=mail.client.com

Or does it rely completely on the domain name?


cheers,
Richard


--

Bob Fera
I.T. Manager
Zenith Information Group
18757 Burbank Blvd., Suite 116
Tarzana, CA 91356
Phone: 818-206-8634 Ext. 160
Fax: 818-345-2605

Members of NACHA
The Electronic Payments Association

Re: Variable for which site, rather than domain name
country flaguser name
United States
2007-06-28 17:46:23
At 8:28 AM +1000 29/6/07, Richard McLean wrote:
>We'd like to direct all webmail/domain admin through the
main
>domain, mail.domain.com. Is there a way to tell the main
mail
>server which domain is logging in, without the domain
being
>mail.client.com?
>
>e.g. https
://mail.domain.com/?domain=mail.client.com
>
>Or does it rely completely on the domain name?


Oh, forgot to mention, I know that using the full userclient.com
email address works for mail users, but that doesn't work
for the
domain administrator login.


cheers,
Richard


Re: Variable for which site, rather than domain name
country flaguser name
United States
2007-06-28 17:50:19
At 3:40 PM -0700 28/6/07, Bob Fera wrote:
>Sounds like I'm doing exactly what you want on my
Surgemail server. 
>It requires a few manual changes to the Templates.


Excellent, many thanks Bob! 


cheers,
Richard


Re: Variable for which site, rather than domain name
country flaguser name
United States
2007-06-28 17:59:08
Hi All,


It works with the domain admin login too, changing
web/na_login.htm,
adding as Bob outlined:

<input type="hidden" name="domain"
value="||domain||">

Many thanks NetWin for the great source commenting, it's
much appreciated trying to change things like this!


cheers,
Richard


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )