Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-2008, 12:55 PM
Moderator
 
Posts: 1,554
Default web based mobile client not working with virtual domains

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?
Reply With Quote
  #2 (permalink)  
Old 03-03-2008, 03:55 PM
Project Contributor
 
Posts: 182
Lightbulb Reverse Proxy Perhaps

Maybe you need an additional reverseproxy in your virtualhost section

ie.

Code:
<VirtualHost *:80>
        ServerAlias webmail.*
        SecFilterEngine Off
        ProxyPass / http://zcs1.domain.com:81/
        ProxyPassReverse / http://zcs1.domain.com:81/
        ProxyPass /m/ http://zcs1.domain.com:81/m/
        ProxyPassReverse /m/ http://zcs1.domain.com:81/m/
        ErrorLog /var/log/httpd/zimbra-error.log
</VirtualHost>
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:

Code:
 @ 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
__________________
------------------------------
http://www.lcrm.co.uk

Last edited by Costa-101; 03-03-2008 at 04:04 PM..
Reply With Quote
  #3 (permalink)  
Old 03-04-2008, 05:38 AM
Moderator
 
Posts: 1,554
Default

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



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/ 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/ 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.
Reply With Quote
  #4 (permalink)  
Old 03-04-2008, 09:41 AM
Project Contributor
 
Posts: 182
Lightbulb

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
-- good start, that always makes things easier for clients.

Keep up the work - you wil be an expert in no time at all.

Maybe Zimbra does not acknowledge the Blackberry platform as a mobile device - possibly thinking it is man enough to handle the full frontal

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
__________________
------------------------------
http://www.lcrm.co.uk
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.