Results 1 to 4 of 4

Thread: web based mobile client not working with virtual domains

  1. #1
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    10

    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?

  2. #2
    Costa-101's Avatar
    Costa-101 is offline Project Contributor
    Join Date
    Sep 2006
    Location
    Space station 101
    Posts
    182
    Rep Power
    8

    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
    Last edited by Costa-101; 03-03-2008 at 05:04 PM.
    ------------------------------
    http://www.lcrm.co.uk

  3. #3
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    10

    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.

  4. #4
    Costa-101's Avatar
    Costa-101 is offline Project Contributor
    Join Date
    Sep 2006
    Location
    Space station 101
    Posts
    182
    Rep Power
    8

    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 !

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 02-29-2008, 09:09 AM
  2. Zimbra Mobile Web Client questions
    By sdemeyer in forum Administrators
    Replies: 1
    Last Post: 02-03-2008, 02:25 PM
  3. How to access Mobile Web Client?
    By ms2k in forum Zimbra Mobile
    Replies: 4
    Last Post: 01-09-2008, 12:58 AM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  5. Web Client Search Not working
    By playnada in forum Administrators
    Replies: 5
    Last Post: 11-30-2007, 12:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •