Page 75 of 106 FirstFirst ... 2565737475767785 ... LastLast
Results 741 to 750 of 1054

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

  1. #741
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    6

    Default

    Quote Originally Posted by carlsan View Post
    The problem exists also if I forward messages that have jpeg attachments (forward them with attachment) - not only sending photos from the Iphone gallery....
    //carlsan
    Forwarding emails with attachments is a separate issue. It is a limitation right now that attachments are stripped. Only the text is forwarded. If you want to also forward the attachment, you need to save the attachment to the phone first, then forward the message and add the attachments back.

  2. #742
    carlsan is offline Intermediate Member
    Join Date
    Mar 2010
    Posts
    20
    Rep Power
    5

    Default

    Quote Originally Posted by liverpoolfcfan View Post
    Forwarding emails with attachments is a separate issue....
    Works without problems! Really! IPhone asks me if I want to forward the attachment also, I commit and it works like a charm with PDF, ZIP, ...
    Only JPEG (send and forward) drives me crazy.... ;-)
    //carlsan

  3. #743
    jobe is offline Senior Member
    Join Date
    Mar 2011
    Posts
    57
    Rep Power
    4

    Default

    Hi everybody, I'm trying to configure Z-Push in a Zimbra test environment: I made some steps further since the first problems, but now I'm stuck and I need your help...
    I think I didn't understand how to configure the profile.xml file, because i receive these errors (from debug.txt):

    Code:
    01/12/12 16:46:01 [7268] [test1] Start
    01/12/12 16:46:01 [7268] [test1] Z-Push version: 1.5.6-954
    01/12/12 16:46:01 [7268] [test1] Client IP: 10.0.224.189  
    01/12/12 16:46:01 [7268] [test1] Client supports version 2.5
    01/12/12 16:46:01 [7268] [test1] PHP version: 5.2.6 - z-push Zimbra Backend version: 51
    01/12/12 16:46:01 [7268] [test1] START Logon { username = test1; domain = ; password = <hidden> }
    01/12/12 16:46:01 [7268] [test1] /srv/www/htdocs/z-push/backend/zimbra.php:609 Undefined index:  soap:Envelope (8)
    01/12/12 16:46:01 [7268] [test1] /srv/www/htdocs/z-push/backend/zimbra.php:611 Undefined index:  soap:Envelope (8)
    01/12/12 16:46:02 [7268] [test1] /srv/www/htdocs/z-push/backend/zimbra.php:635 Undefined index:  soap:Envelope (8)
    01/12/12 16:46:02 [7268] [test1] /srv/www/htdocs/z-push/backend/zimbra.php:651 Undefined index:  soap:Envelope (8)
    01/12/12 16:46:02 [7268] [test1] /srv/www/htdocs/z-push/backend/zimbra.php:654 Undefined index:  soap:Envelope (8)
    01/12/12 16:46:02 [7268] [test1] /srv/www/htdocs/z-push/backend/zimbra.php:672 Undefined index:  soap:Envelope (8)
    01/12/12 16:46:02 [7268] [test1] END Logon { connected = true; uid =  }                                           
    01/12/12 16:46:02 [7268] [test1] START Setup { userid = test1; devid =  androidc1059786363; protocolversion = 2.5; useragent = Android/0.3  }                                                                                          
    01/12/12 16:46:02 [7268] [test1] No XML Profile File  [/srv/www/htdocs/z-push/zimbra/.xml] Found For User - Default Rules Will   Apply                                                                                                  
    01/12/12 16:46:02 [7268] [test1] END Setup { 1 Folders Loaded }                                                   
    01/12/12 16:46:02 [7268] [test1] POST cmd: FolderSync                                                             
    01/12/12 16:46:02 [7268] [test1] Initializing folder diff engine                                                  
    01/12/12 16:46:02 [7268] [test1] START GetFolderList                                                              
    01/12/12 16:46:02 [7268] [test1] END GetFolderList { found 1 folders }                                            
    01/12/12 16:46:02 [7268] [test1] Found 0 folder changes                                                           
    01/12/12 16:46:02 [7268] [test1] START Logoff                                                                     
    01/12/12 16:46:02 [7268] [test1]          MEMORY - REAL Now (7,602,176)  Peak [9,437,184] - ALLOCATED Now (7,452,928) Peak [9,087,392] - END  Logoff                                                                                   
    01/12/12 16:46:02 [7268] [test1] end                                                                              
    01/12/12 16:46:02 [7268] [test1] --------
    Zimbra (7.1.3) and Z-Push (51) are on the same server; here is my config.php:
    Code:
        $BACKEND_PROVIDER = "BackendZimbra";
        // ************************
        //  BackendZimbra settings
        // ************************
                       define('ZIMBRA_URL', 'http://10.112.1.7');
                       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);
    If I try to connect to 10.112.1.7/Microsoft-Server-ActiveSync the behavior is ok, with the user/password request and the "get not supported" answer.
    I configured a Samsung Galaxy Tab 7" (with Android 2.2), and the account creation process ends normally, but after that the mail application shows me only one empty folder ("inbox", that isn't empty indeed) and I can't browse any other folder (like sent or trash). If I send an email the application doesn't give any error, but no mails are really sent, and there is no trace of them in the mail queue (if I send the same email from the Zimbra web interface there are no problems).
    error_log of Apache is full of these errors:
    Code:
    [Thu Jan 12 16:07:16 2012] [error] [client 10.112.1.7] File does not exist: /srv/www/htdocs/service
    What is this missing folder?
    Could you provide an example of correctly-formed profile.xml file?
    Thank you in advance.
    Last edited by jobe; 01-12-2012 at 09:27 AM. Reason: Asked for example

  4. #744
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    6

    Default

    I am pretty sure that it is not z-push that is prompting for user id and password. If you are not getting soap responses then you arr not communicating with the backend.

    Have you configured zimbra for non standard ports as you would need to do so to have both z-push and zimbra on the same server

    Search back up five or six pages. Someone had a similar issue.

    Sent from my GT-I9000 using Tapatalk

  5. #745
    gtr33m is offline Loyal Member
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    96
    Rep Power
    7

    Default

    jobe,

    I had exactly the same problem and though I managed to get rid of the error message by creating the necessary folders, it still does not fix the problem.

    No error messages, but nothing gets sync'ed. Exactly as you are experiencing.

    I found that you also need to install php-mail, which is not necessary for older versions.

    I'll post the folders you need to create in a few moments.

    Mark
    Mark Hawkins

    Medalist

  6. #746
    gtr33m is offline Loyal Member
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    96
    Rep Power
    7

    Default

    Credit to Waltheman on the folders. You will need to change for your path structure.

    It looks like it needs several subdirs (soap, home, upload, content), and I don't see that it creates them. Try creating the service dir and its sub-dirs also. You can use mkdir -p /var/www/service/soap etc.. to ease the creation.

    -Walt
    If you figure it out, I'd love to hear how. I've gone back to the old version for the moment as it works, but I really want html mail on my android.

    Mark
    Mark Hawkins

    Medalist

  7. #747
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    6

    Default

    Quote Originally Posted by gtr33m View Post
    Credit to Waltheman on the folders. You will need to change for your path structure.
    Mark
    None of these folders are needed by z-push. These are all zimbra folders - and the issue you have is that zimbra's apache or jetty web server is answering your request - not z-push - and zimbra has it's own /Microsoft-Server-ActiveSync redirector built-in to the configuration for the Network Edition

    Do you use the nginx proxy ?

    If you don't have you moved zimbra HTTP/HTTPS away from the standard 80/443, and put your apache on he standard ports, and added redirects to get to zimbra on the new ports ?

    Search the wiki or forums for "apache and zimbra"

    As I have advised people before. Set up a standalone z-push server first and configure it and get it working. Then when you are familiar with how it all hangs together - look to try to co-locate it on the zimbra box if you really want to go that way. However, as zimbra upgrades will likely force you to do re-work every time if you run a shared configuration, I would strongly recommend you stick with separate boxes.

  8. #748
    jobe is offline Senior Member
    Join Date
    Mar 2011
    Posts
    57
    Rep Power
    4

    Default

    I think I solved it, following liverpoolfcfan hints...probably this is the post you mentioned:

    Quote Originally Posted by liverpoolfcfan View Post
    That is one of the primary reasons it makes most sense to deploy z-push on it's own server. Basically z-push "logs on" through the zimbra web portal - whether it is on 443 or 80. If both machines are on the same private network then HTTP is fine - but if the traffic crosses the internet then HTTPS is obviously better.

    The zimbra server for Webmail uses a path of https://server/zimbra - whereas the SOAP service that z-push interacts with is available under https://server/service/soap

    In your config file for z-push - config.php - just set your ZIMBRA_URL to be the server name of the zimbra Webmail server - HTTPS://your.server.com (the backend script will append the /service/soap)
    After the installation, I configured Zimbra web interface to listen on port 81, to not interfere with Z-push's Apache, but I didn't specify that setting in config.php...changing 'ZIMBRA URL' setting to:
    Code:
    define('ZIMBRA_URL', 'http://10.112.1.7:81');
    solved the problem, now my Android tablet syncs with the server, and I send/receive mail correctly.

    @gtr33m: I also created /var/www/service folder, and now error_log from Apache shows only this error
    Code:
    [Fri Jan 13 10:36:59 2012] [error] [client 10.232.16.40] File does not exist: /srv/www/htdocs/favicon.ico
    when I connect to http://serverAddress/Microsoft-Server-ActiveSync from the browser, but I think it's not relevant...I think that your problem isn't caused by missing folders in Apache...

    Thank you liverpoolfcfan for your advices.

  9. #749
    gtr33m is offline Loyal Member
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    96
    Rep Power
    7

    Default

    I use separate servers, but do have port forwarding on my router. To make things less complicated I run zimbra in SSL redirect mode, which means every connection is forced onto SSL.

    I have a separate web server,on which zpush runs, and other web pages.

    My router port forwards 443 to the mail server, And protection 80 to the web server
    Last edited by gtr33m; 01-13-2012 at 01:19 PM.
    Mark Hawkins

    Medalist

  10. #750
    gtr33m is offline Loyal Member
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    96
    Rep Power
    7

    Default Still having problems

    I did find one problem with my config.php which was pointing to the http:// instead of the https:// server, with my zimbra being https:// only this obviously caused problems.

    With that fixed, I'm still hvaing issues.

    I can connect but am unable to get any folders except for Outbox and _eas

    I have dropped and re-created the account on the Android device.

    Debug.txt
    Code:
    01/15/12 19:31:41 [14152] Start ------ THIS IS AN UNOFFICIAL DEVELOPER VERSION!
    01/15/12 19:31:41 [14152] Z-Push version: SVN AS14 checkout
    01/15/12 19:31:41 [14152] Client IP: 220.233.19.72
    01/15/12 19:31:41 [14152] Set max_execution_time to 4140
    01/15/12 19:31:41 [14152] Client supports version 2.5
    01/15/12 19:31:41 [14152] PHP version: 5.3.2-1ubuntu4.11 - z-push Zimbra Backend version: 51.7.as12.1
    01/15/12 19:31:41 [14152] START Logon { username = mhawkins; domain = ; password = <hidden> }
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:699 Undefined index: soap:Envelope (8)
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:701 Undefined index: soap:Envelope (8)
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:725 Undefined index: soap:Envelope (8)
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:741 Undefined index: soap:Envelope (8)
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:744 Undefined index: soap:Envelope (8)
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:762 Undefined index: soap:Envelope (8)
    01/15/12 19:31:41 [14152] END Logon { connected = true; uid =  }
    01/15/12 19:31:41 [14152] START Setup { userid = mhawkins; devid = validate; protocolversion = 2.5; useragent = Android/0.3 }
    01/15/12 19:31:41 [14152] No XML Profile File [/var/www/z-push/zimbra/.xml] Found For User - Default Rules Will Apply
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:1688 Undefined index: document (8)
    01/15/12 19:31:41 [14152] /var/www/z-push/backend/zimbra.php:1688 Undefined index: wiki (8)
    01/15/12 19:31:41 [14152] END Setup { 1 Folders Loaded }
    01/15/12 19:31:41 [14152] Statemachine _devid initialized with validate for user mhawkins
    01/15/12 19:31:41 [14152] Options request
    01/15/12 19:31:41 [14152] Output Results: GZip not used send Original Size 0 byte(s) --> Send uncompressed data
    Can anyone see anything obvious. I'd really like to get this going.
    Mark Hawkins

    Medalist

Page 75 of 106 FirstFirst ... 2565737475767785 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. z-push and zimbra backend problem
    By ben1967 in forum Mobility
    Replies: 9
    Last Post: 11-14-2012, 11:29 PM
  2. z-push and zimbra backend problem
    By ben1967 in forum Administrators
    Replies: 0
    Last Post: 11-11-2012, 02:11 PM
  3. [SOLVED] Z-push Zimbra backend workaround
    By Inchoate in forum Mobility
    Replies: 6
    Last Post: 01-19-2012, 04: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
  •