web based mobile client not working with virtual domains

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
bdial
Elite member
Elite member
Posts: 1633
Joined: Fri Sep 12, 2014 10:39 pm

web based mobile client not working with virtual domains

Postby bdial » Mon Mar 03, 2008 2:55 pm

When you have a virtual host to address all your mailbox servers, adding /m/ to get to the mobile version doesn't seem to work.
like i have
zcs1.domain.com

zcs2.domain.com
mailbox servers each with users accounts on them. but the users all use webmail.domain.com and it directs them to the appropriate server.
if someone punches up http://webmail.domain.com/m/ it just takes them to the regular zimbra login page which is too big and doesn't format right. However, if they use http://zcs1.domain.com/m/ they get the right version, but they then need to know what mailbox server they're on.
is this a bug?


Costa-101
Advanced member
Advanced member
Posts: 169
Joined: Fri Sep 12, 2014 10:16 pm

web based mobile client not working with virtual domains

Postby Costa-101 » Mon Mar 03, 2008 5:55 pm

Maybe you need an additional reverseproxy in your virtualhost section
ie.


ServerAlias webmail.*

SecFilterEngine Off

ProxyPass / http://zcs1.domain.com:81">http://zcs1.domain.com:81/

ProxyPassReverse / http://zcs1.domain.com:81">http://zcs1.domain.com:81/

ProxyPass /m/ http://zcs1.domain.com:81">http://zcs1.domain.com:81/m/

ProxyPassReverse /m/ http://zcs1.domain.com:81">http://zcs1.domain.com:81/m/

ErrorLog /var/log/httpd/zimbra-error.log


Let me know if you have already got this and I can help you further
Otherwise have you setup you dns entry to include webmail. zcs1.domain.com ?
Would probably look something like:
 @ 14400 IN SOA  zcs1.domain.com. you. zcs1.domain.com. (

2008030401; #serial

7200; #Refresh

1800; #Update

2600000; #Expiry

3600; #Minimum

);

;

@ IN NS zcs1.domain.com;

@ IN NS zcs2.domain.com.;

;

@ IN MX 0 zcs1.domain.com.;

;

ns A x.x.x.x

www A x.x.x.x

webmail A x.x.x.x

zcs1.domain.com. TXT "v=spf1 a mx ~all"

Good luck
Costa
bdial
Elite member
Elite member
Posts: 1633
Joined: Fri Sep 12, 2014 10:39 pm

web based mobile client not working with virtual domains

Postby bdial » Tue Mar 04, 2008 7:38 am

I'm not even sure where you would set that. I couldn't find a virtualhost directive anywhere in /opt/zimbra/conf, they're all even commented out in httpd.conf.
I am following the guidelines from the wiki Installation-Planning for Multi-Server Install - Zimbra :: Wiki
So I have setup a virtual host for my users to log in to so they don't need to know their individual mailbox server. I did this through the admin interface
 http://www.flylife.org/temp/virtual.jpg />
Normally when a user types https://webmail.domain.com theyre automaticly redirected to one of the zcs?.domain.com servers to login via BalanceNG (the load balancer in front of them).
When I do this from my Treo using the web browser, i type in https://webmail.domain.com/m/ and it brings me to https://webmail.domain.com/zimbra/?zinitmode=http I enter my username & pasword and change the version I want to use from standard html to mobile and hit login. I successfully log in, but it doesn't seem to redirect me to my mailbox server zcs1.domain.com but still says webmail.domain.com at the top and it tries to load the full standard html version which pitches an error about being too large. It has totally lost the /m/ at the end of the url at this point.
Now if I go into the address bar at this point and put in https://zcs1.domain.com/m">https://zcs1.domain.com/m/ I am already authenticated at this point, and it brings up the mobile version right away and everything is good.
If I log out, clear my cache, and attempt to get to the mobile web version via https://zcs1.domain.com/m">https://zcs1.domain.com/m/ everything works fine the whole way.



This could be palm's crappy software's fault. Like I said, using the virtualhost address works fine for regular web users but only when trying to access the mobile version using the virtualhost address does this mess start.
Costa-101
Advanced member
Advanced member
Posts: 169
Joined: Fri Sep 12, 2014 10:16 pm

web based mobile client not working with virtual domains

Postby Costa-101 » Tue Mar 04, 2008 11:41 am

I feel there maybe a lot of explaining to do and would advise to simply use the url that works at this time as a temporary solution.
Always try new things on a development machine and never try new things on a production system - trust me.
I am not dismissing your request for help but to advise/explain proxying,dns and virtualhost instructions would be job you might like to refer to the wiki for I am sure you will find some use with these articles:
My wiki article on http integration with Zimbra - includes proxy details.
Zimbra DNS wiki article
My last post referred to /etc/httpd/conf/httpd.conf on a redhat based machine. (Alternatively /etc/apache/conf/httpd.conf on other distros)
Simple Apache virtualhost setup documentation
Apache reverseproxy documentation
If you could please tell me again what setup you have and what you are trying to achieve I can advise on a more specific configuration for you.
Alternatively, I offer support where I can log in to your machine and perhaps we could set up a line of communication over VoIP - if you want !
[QUOTE]So I have setup a virtual host for my users to log in to so they don't need to know their individual mailbox server. I did this through the admin interface[/QUOTE] -- good start, that always makes things easier for clients.
Keep up the work - you wil be an expert in no time at all. :eek:
Maybe Zimbra does not acknowledge the Blackberry platform as a mobile device - possibly thinking it is man enough to handle the full frontal :rolleyes:
Would setting up a mobile.zcs1.domain.com with a reverse proxy suit your setup or not ?
Maybe I have got it wrong
Anyway let me know either way
Cheers
Costa

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 17 guests