Page 56 of 106 FirstFirst ... 646545556575866 ... LastLast
Results 551 to 560 of 1054

Thread: Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

  1. #551
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    6

    Default AS12 - HTML no go for iPhone/iPad/etc - need to move to AS12.1

    With thanks to forum users klug and jasonferrara for doing all the testing, it seems we have to admit defeat in getting the iPhone/iPad/etc working with HTML email on the AS12 branch of z-push. It is a shame as it has been quite stable in our use on non iOs devices.

    It seems the key to HTML on the iOs devices is ActiveSync protocol version 12.1 or later. It is only then that the client announces it is capable of anything more than basic text email.

    With that said, we are now starting to test a modified zimbra backend with AS12.1 - so hopefully there is not as much change as I had first anticipated.
    Hopefully not too long more.

  2. #552
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Angry z-push Zimbra no luck on getting it working after 2 weeks

    I have been trying to get z-push to connect to Zimbra for around 2 weeks and I'm not getting anywhere I'm a linux newbee.

    i downloaded z-push.1.5.4.rc-705
    Zimbra backend ver 50

    All servers are up-to date

    I'm host the servers on separate VMs with separate Public IPs, Comcast business class 173.xx.x.xx

    I'm hosting z-push on a virtualmin server running on ubuntu 10.04 32bit
    redirects setup and working
    https://mydomain.com/Microsoft-Server-ActiveSync/

    and Zimbra on Ubuntu 10.04 64bit https://mail.mydomain.com

    i do get the user-name and pass promt. from the browser

    config.php

    // The data providers that we are using (see configuration below)
    $BACKEND_PROVIDER = "BackendZimbra";


    the below is added at the bottom of the file

    // Zimbra
    define('ZIMBRA_DEBUG',true);
    define('ZIMBRA_URL', 'https://mail.mydomain.com');
    define('ZIMBRA_USER_DIR', 'zimbra');
    define('ZIMBRA_SYNC_CONTACT_PICTURES', true);
    define('ZIMBRA_VIRTUAL_CONTACTS',true);
    define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
    define('ZIMBRA_VIRTUAL_TASKS',true);
    define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
    define('ZIMBRA_HTML',false);
    define('ZIMBRA_ENFORCE_VALID_EMAIL',true);
    ?>

    all i see in the debug.txt is even if i enter the wrong user-name and password
    06/29/11 14:17:21 [31102] Start
    06/29/11 14:17:21 [31102] Z-Push version: 1.5.4RC-705
    06/29/11 14:17:21 [31102] Client IP: 10.1.10.11
    06/29/11 14:17:21 [31102] Access denied 401: no password sent.
    06/29/11 14:17:21 [31102] end
    06/29/11 14:17:21 [31102] --------

    even though i set wbxml.php

    ************************************************/
    include_once('debug.php');

    define('WBXML_DEBUG',true);

    I have searched the forum and Google none stop for an answer before I posted here, i really hope some one can help me I'm pulling my hair out
    Last edited by riggs; 06-29-2011 at 12:53 PM.

  3. #553
    Join Date
    Jun 2010
    Location
    France - Brittany - Auray
    Posts
    10
    Rep Power
    5

    Default

    Hi,

    I also was unable to make it work with z-push 1.5.3. So, I tried with z-push 1.5.1 and zimbra backend 50 and it works.

    Two things that will perhaps help you :
    - don't forget to allow apache user to write and read state dir
    - here are the last lines of my config.php :
    Code:
        // ************************
    
        // Defines the server to which we want to connect
        // recommended to use local servers only
        //define('IMAP_SERVER', 'zimbra.mydomain.com');
        define('ZIMBRA_URL','https://zimbra.mydomain.com');
        define('ZIMBRA_USER_DIR','zimbra');
        define('ZIMBRA_SYNC_CONTACT_PICTURES', true);
        define('ZIMBRA_VIRTUAL_CONTACTS',true);
        define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
        define('ZIMBRA_VIRTUAL_TASKS',true);
        define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
        define('ZIMBRA_HTML',false);
        define('ZIMBRA_ENFORCE_VALID_EMAIL',true);
        define('ZIMBRA_SMART_FOLDERS',true);
    
        // connecting to default port (143)
        //define('IMAP_PORT', 993);
        // best cross-platform compatibility (see http://php.net/imap_open for options)
        //define('IMAP_OPTIONS', '/notls/norsh');
        // overwrite the "from" header if it isn't set when sending emails
        // options: 'username'    - the username will be set (usefull if your login is equal to your emailaddress)
        //        'domain'    - the value of the "domain" field is used
        //        '@mydomain.com' - the username is used and the given string will be appended
        define('IMAP_DEFAULTFROM', '');
        // copy outgoing mail to this folder. If not set z-push will try the default folders
        define('IMAP_SENTFOLDER', '');
        // forward messages inline (default off - as attachment)
        //define('IMAP_INLINE_FORWARD', true);
        // use imap_mail() to send emails (default) - off uses mail()
        //define('IMAP_USE_IMAPMAIL', true);
    
    
        // ************************
        //  BackendMaildir settings
        // ************************
        define('MAILDIR_BASE', '/tmp');
        define('MAILDIR_SUBDIR', 'Maildir');
    
        // **********************
        //  BackendVCDir settings
        // **********************
        define('VCARDDIR_DIR', '/home/%u/.kde/share/apps/kabc/stdvcf');
    
        // Alternative backend to perform SEARCH requests (GAL search)
        // if an empty value is used, the default search functionality of the main backend is used
        // use 'SearchLDAP' to search in a LDAP directory (see backend/searchldap/config.php)
        define('SEARCH_PROVIDER', '');
    Jeremie.
    The more you fail... The more you succeed...
    -----------------------------------------------------------------------------
    ZCS 8.0.3 OSE CentOS 6.4 64 bits on Hyper-V
    Z-Push 2.0.7 - Zimbra Backend 55 CentOS 6.4 64 bits on Hyper-V

  4. #554
    Join Date
    Apr 2007
    Posts
    3
    Rep Power
    8

    Default

    Hi Riggs and Jeremie,

    My Z-push server with Zimbra 7.1 OSE version is working fine, only thing is that I can't get android phone to work.

    my z-push server is Version 1.5.4RC-705 and Zimbra backend 50.

    config.php is :


    define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);
    define('ZIMBRA_URL','http://mail.xxxxxx.net.local');
    define('ZIMBRA_USER_DIR', 'zimbra');
    define('ZIMBRA_SYNC_CONTACT_PICTURES', true);
    define('ZIMBRA_VIRTUAL_CONTACTS',true);
    define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
    define('ZIMBRA_VIRTUAL_TASKS',true);
    define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
    define('ZIMBRA_HTML',true);
    define('ZIMBRA_DEBUG',true);


    // The data providers that we are using (see configuration below)
    $BACKEND_PROVIDER = "BackendZimbra";

    The different from what I see is that my Zimbra server is not on SSL (ZIMBRA_URL).

    You may want to try to configure without ssl?!

    All the best to you.

    Choong Leng from Singapore

  5. #555
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    Thanks for your reply

    I use SSL as my both my web-server and Zimbra is configured for SSL, Zimbra is set to only allow SSL they are commercially signed certificates

    Same thing

    debug.txt
    06/30/11 09:16:29 [3105] Start
    06/30/11 09:16:29 [3105] Z-Push version: 1.5.1 (517)
    06/30/11 09:16:29 [3105] Client IP: 10.1.10.11
    06/30/11 09:16:29 [3105] Access denied: no password sent.
    06/30/11 09:16:29 [3105] end
    06/30/11 09:16:29 [3105] --------
    Last edited by riggs; 06-30-2011 at 07:30 AM.

  6. #556
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    is there any reason why I'm not getting any real debug info, I've enabled it in config.php and wbxml.php

  7. #557
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    I'm seeing this in my apache error log
    [Thu Jun 30 08:49:45 2011] [notice] mod_fcgid: process /home/merrintech/public_html/z-push/index.php(30695) exit(shutting down), terminated by calling exit(), return code: 255
    [Thu Jun 30 08:49:45 2011] [notice] mod_fcgid: process /home/merrintech/public_html/z-push/index.php(31102) exit(shutting down), terminated by calling exit(), return code: 255
    [Thu Jun 30 08:49:45 2011] [notice] mod_fcgid: process /home/merrintech/public_html/z-push/index.php(25520) exit(shutting down), terminated by calling exit(), return code: 0
    [Thu Jun 30 08:49:50 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Thu Jun 30 08:49:50 2011] [notice] Digest: generating secret for digest authentication ...
    [Thu Jun 30 08:49:50 2011] [notice] Digest: done
    PHP Deprecated: Comments starting with '#' are

  8. #558
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    So I got it sort of working I changed the website options in virtualmin.
    PHP script execution mode needed to be set to
    Apache mod_php (run as Apache's user) instead of FCGId (run as virtual server owner).

    So now i see
    Z-Push - Open Source ActiveSync
    Version 1.5.1 (517)
    GET not supported
    This is the z-push location and can only be accessed by Microsoft ActiveSync-capable devices.

    now if i go to the ipad and setup exchange it all completes ok
    but when i go to mail i get connection to the server has failed.

    the logs are why to cluttered to post I need to sort through the errors and repost my findings

  9. #559
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    OK I'm back with my log, I'm lost.

    below is a past of my debug.txt all identifiable info is covered with ****

    Code:
    0/11 13:53:09 [4282] /home/**********/public_html/z-push/wbxml.php:45 Use of undefined constant ture - assumed 'ture' (8)
    06/30/11 13:53:09 [4282] [riggs] Start
    06/30/11 13:53:09 [4282] [riggs] Z-Push version: 1.5.4RC-705
    06/30/11 13:53:09 [4282] [riggs] Client IP: 10.1.10.11
    06/30/11 13:53:09 [4282] [riggs] Client supports version 2.5
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:385 include_once(z_RTF.php): failed to open stream: No such file or directory (2)
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:385 include_once(): Failed opening 'z_RTF.php' for inclusion (include_path='/home/**********/public_html/z-push/include/:/home/**********/public_html/z-push/:.:/usr/share/php:/usr/share/pear:/usr/share/php/:/usr/share/php5/:/usr/share/pear/') (2)
    06/30/11 13:53:10 [4282] [riggs] PHP version: 5.3.2-1ubuntu4.9 - z-push Zimbra Backend version: 50
    06/30/11 13:53:10 [4282] [riggs] START Logon { username = riggs; domain = **********.com; password = <hidden> }
    06/30/11 13:53:10 [4282] [riggs] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                                <soap:Header><context xmlns="urn:zimbra">
                        <session id="" />
                        <notify  seq="0" />
                        </context></soap:Header>
                                <soap:Body><AuthRequest xmlns="urn:zimbraAccount">
                            <account by="name">riggs</account>
                            <password>**********</password>
                            <attrs><attr name="uid"/></attrs>
                            <prefs><pref name="zimbraPrefTimeZoneId"/></prefs>
                        </AuthRequest></soap:Body>
                             </soap:Envelope>
    06/30/11 13:53:10 [4282] [riggs] Session Id - NEW [
    ]
    06/30/11 13:53:10 [4282] [riggs] SOAP response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /service/soap was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at mail.**********.com Port 443</address>
    </body></html>
    
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:524 Undefined index: soap:Envelope (8)
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:526 Undefined index: soap:Envelope (8)
    06/30/11 13:53:10 [4282] [riggs] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                                <soap:Header><context xmlns="urn:zimbra">
                                <authToken>
    </authToken>
                                <session id="
    " />
                           </context></soap:Header>
                                <soap:Body><GetInfoRequest sections="mbox,attrs,prefs" xmlns="urn:zimbraAccount"></GetInfoRequest></soap:Body>
                             </soap:Envelope>
    06/30/11 13:53:10 [4282] [riggs] SOAP response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /service/soap was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at mail.**********.com Port 443</address>
    </body></html>
    
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:550 Undefined index: soap:Envelope (8)
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:566 Undefined index: soap:Envelope (8)
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:569 Undefined index: soap:Envelope (8)
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:587 Undefined index: soap:Envelope (8)
    06/30/11 13:53:10 [4282] [riggs] END Logon { connected = true; uid =  }
    06/30/11 13:53:10 [4282] [riggs] START Setup { userid = riggs; devid = ApplDN**********; protocolversion = 2.5; useragent = Apple-iPad2C1/810.2 }
    06/30/11 13:53:10 [4282] [riggs] No XML Profile File [/home/**********/public_html/z-push/zimbra/.xml] Found For User - Default Rules Will Apply
    06/30/11 13:53:10 [4282] [riggs] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                                <soap:Header><context xmlns="urn:zimbra">
                                <authToken>
    </authToken>
                                <session id="
    " />
                           </context></soap:Header>
                                <soap:Body><GetFolderRequest xmlns="urn:zimbraMail" visible="1">
                            <folder/>
                        </GetFolderRequest></soap:Body>
                             </soap:Envelope>
    06/30/11 13:53:10 [4282] [riggs] SOAP response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /service/soap was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at mail.**********.com Port 443</address>
    </body></html>
    
    06/30/11 13:53:10 [4282] [riggs] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                                <soap:Header><context xmlns="urn:zimbra">
                                <authToken>
    </authToken>
                                <session id="
    " />
                           </context></soap:Header>
                                <soap:Body><GetSearchFolderRequest xmlns="urn:zimbraMail"/></soap:Body>
                             </soap:Envelope>
    06/30/11 13:53:10 [4282] [riggs] SOAP response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /service/soap was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at mail.**********.com Port 443</address>
    </body></html>
    
    06/30/11 13:53:10 [4282] [riggs] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                                <soap:Header><context xmlns="urn:zimbra">
                                <authToken>
    </authToken>
                                <session id="
    " />
                           </context></soap:Header>
                                <soap:Body><GetTagRequest xmlns="urn:zimbraMail"/></soap:Body>
                             </soap:Envelope>
    06/30/11 13:53:10 [4282] [riggs] SOAP response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /service/soap was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at mail.**********.com Port 443</address>
    </body></html>
    
    06/30/11 13:53:10 [4282] [riggs] END Setup { 0 Folders Loaded }
    06/30/11 13:53:10 [4282] [riggs] POST cmd: FolderSync
    06/30/11 13:53:10 [4282] [riggs] I  <FolderHierarchy:FolderSync>
    06/30/11 13:53:10 [4282] [riggs] I   <FolderHierarchy:SyncKey>
    06/30/11 13:53:10 [4282] [riggs] I    0
    06/30/11 13:53:10 [4282] [riggs] I   </FolderHierarchy:SyncKey>
    06/30/11 13:53:10 [4282] [riggs] I  </FolderHierarchy:FolderSync>
    06/30/11 13:53:10 [4282] [riggs] Initializing folder diff engine
    06/30/11 13:53:10 [4282] [riggs] START GetFolderList
    06/30/11 13:53:10 [4282] [riggs] END GetFolderList { found 0 folders }
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/zimbra.php:1839 Undefined variable: folders (8)
    06/30/11 13:53:10 [4282] [riggs] /home/**********/public_html/z-push/backend/diffbackend.php:60 usort() expects parameter 1 to be array, null given (2)
    06/30/11 13:53:10 [4282] [riggs] Found 0 folder changes
    06/30/11 13:53:10 [4282] [riggs] O  <FolderHierarchy:FolderSync>
    06/30/11 13:53:10 [4282] [riggs] O   <FolderHierarchy:Status>
    06/30/11 13:53:10 [4282] [riggs] O   1
    06/30/11 13:53:10 [4282] [riggs] O   </FolderHierarchy:Status>
    06/30/11 13:53:10 [4282] [riggs] O   <FolderHierarchy:SyncKey>
    06/30/11 13:53:10 [4282] [riggs] O   0
    06/30/11 13:53:10 [4282] [riggs] O   </FolderHierarchy:SyncKey>
    06/30/11 13:53:10 [4282] [riggs] O   <FolderHierarchy:Changes>
    06/30/11 13:53:10 [4282] [riggs] O    <FolderHierarchy:Count>
    06/30/11 13:53:10 [4282] [riggs] O    0
    06/30/11 13:53:10 [4282] [riggs] O    </FolderHierarchy:Count>
    06/30/11 13:53:10 [4282] [riggs] O   </FolderHierarchy:Changes>
    06/30/11 13:53:10 [4282] [riggs] O  </FolderHierarchy:FolderSync>
    06/30/11 13:53:10 [4282] [riggs] START Logoff
    06/30/11 13:53:10 [4282] [riggs] SOAP Message: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                                <soap:Header><context xmlns="urn:zimbra">
                                <authToken>
    </authToken>
                                <session id="
    " />
                           </context></soap:Header>
                                <soap:Body><EndSessionRequest xmlns="urn:zimbraAccount"/></soap:Body>
                             </soap:Envelope>
    06/30/11 13:53:10 [4282] [riggs] SOAP response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /service/soap was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at mail.**********.com Port 443</address>
    </body></html>
    
    06/30/11 13:53:10 [4282] [riggs]          MEMORY - REAL Now (4,718,592) Peak [6,553,600] - ALLOCATED Now (4,444,016) Peak [6,118,708] - END Logoff
    06/30/11 13:53:10 [4282] [riggs] end
    06/30/11 13:53:10 [4282] [riggs] --------
    Attached Files Attached Files

  10. #560
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    I got passed the above error.
    I forgot that virtualmin creats a DNS record for the subdomain mail, so I edited the record to point to my Zimbra server address.

    I still can't but I'm getting there, I now have new errors now to fix..
    I'm hoping that these posts may help other people out there

Similar Threads

  1. z-push and zimbra backend problem
    By ben1967 in forum Mobility
    Replies: 9
    Last Post: 11-14-2012, 10:29 PM
  2. z-push and zimbra backend problem
    By ben1967 in forum Administrators
    Replies: 0
    Last Post: 11-11-2012, 01:11 PM
  3. [SOLVED] Z-push Zimbra backend workaround
    By Inchoate in forum Mobility
    Replies: 6
    Last Post: 01-19-2012, 03:22 AM
  4. [SOLVED] Z-push Zimbra backend workaround
    By Inchoate in forum Administrators
    Replies: 0
    Last Post: 10-31-2010, 07:06 AM
  5. Replies: 348
    Last Post: 10-11-2010, 05:39 AM

Posting Permissions

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