Tzpush - Page 3
Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
Like Tree4Likes

Thread: Tzpush

  1. #21
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    With the new 1.9.8.5 update, I can now PUSH a new contact from TBird to Zimbra. nice.

    Unforunately, the sync -- which involved ~ 400 addresses -- created duplicates on the Zimbra server for each and every contact.

    Not clear whether that's a one-time-issue, or whether there's a problem in existing contact checks.

  2. #22
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    In the TZPush settings dialog, I can select the 'local contacts' list.

    Sync works between that list, and its corresponding list on the Zimbra server.

    Is it (yet) possible to select and sync MULTIPLE lists? E.g., on the Z server, I've 7 contact lists, each with an intended 1-to-1 correspondence with a TBird list.

  3. #23
    Developer of the tzpush Thunderbird add-on.
    Join Date
    Nov 2014
    Posts
    19
    First. Have you got multiple contacts in thunderbird as well as server? If you add a new contact to thunderbird. Does it sync correctly, ie only one contact on server?
    By lists, do you mean separate address books. TZpush2 will do this. The version beta version unfortunately will not work with zextra. I am currently working on updating the code to a far better method. Should be here soon.
    Contact lists are not supported by activesync. (Unless any one know better).
    Mark

  4. #24
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    > Have you got multiple contacts in thunderbird as well as server?

    Yes.

    For each named contact list on the server, I have an identically named contact-list in TBird.

    > If you add a new contact to thunderbird. Does it sync correctly, ie only one contact on server?

    Yes. Well, sort of. THe 1st time it syncs, I end up with the one new contact on the server. But then, if I reexec a synx, it dupes on the server, and I end up with multiples there.

    > By lists, do you mean separate address books.

    yes

    > TZpush2 will do this.
    > The version beta version unfortunately will not work with zextra.
    > I am currently working on updating the code to a far better method. Should be here soon.

    Ah, ok.

    > Contact lists are not supported by activesync. (Unless any one know better).

    On Android, at least, with CardDAV, you set up one 'connector' per Conatct list, giving full path to it.

    Also on Android, with ZCard ('native' Zimbra sync; that's *NOT* ActiveSync?), one connector identifies and allows selection/sync of multiple Contact lists.

    I'm not familiar with the inner working of ActiveSync ... and whether multiple lists can be supported in a single connetction, or whether multiple accounts/connections are required. There's 'Touchdown' on Android that's definitely an ActiveSync client -- just haven't played with it.

  5. #25
    Developer of the tzpush Thunderbird add-on.
    Join Date
    Nov 2014
    Posts
    19
    In Thunderbird preferences set extensions.tzpush.debugwbxml to 1.
    Sync 1 contact.
    Could you let me know results shown in error console.
    Mark

  6. #26
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    with latest version, looks pretty good so far
    Code:
    check Zimbra, 92 contacts exist in list 'Contacts'
    upgrade & enable tzpush -> v1.9.8.6
    enble tzpush debug
    restart tbird
    delete existing AddresBook "Contacts" from tbird
    create new AddresBook/Network in tbird, "Contacts"
    select "Contacts" in tzpush settings
    exec TZ Sync
    92 contacts appear in TBird list
    output of Error console:
    create one new contact in tzpush
    exec TZ Sync
    check at Zimbra, new contact appears, total == 93 contacts
    
    console output:
    -----------------------------
    sending : <?xml version="1.0"?>
    <Sync xmlns="AirSync:">
    <Collections>
    <Collection>
    <Class>Contacts</Class>
    <SyncKey>a919dd932c3d4eb38d1474424e4b7585/7/86/5</SyncKey>
    <CollectionId>7</CollectionId>
    <DeletesAsMoves/>
    <GetChanges/>
    <WindowSize>100</WindowSize>
    <Options>
    <Conflict>1</Conflict>
    <MIMESupport>0</MIMESupport>
    </Options>
    </Collection>
    </Collections>
    </Sync>
     ----------
    sending : POST https://mx.domain.com/Microsoft-Server-ActiveSync?Cmd=Sync&User=test@domain1.com&DeviceType=Thunderbird&DeviceId=1420130425337
     ----------
    recieved : <?xml version="1.0"?>
    <Sync xmlns="AirSync:">
    <Collections>
    <Collection>
    <Class>Contacts</Class>
    <SyncKey>a919dd932c3d4eb38d1474424e4b7585/7/86/5</SyncKey>
    <CollectionId>7</CollectionId>
    <Status>1</Status>
    </Collection>
    </Collections>
    </Sync>
     ----------
    sending : <?xml version="1.0"?>
    <Sync xmlns="AirSync:">
    <Collections>
    <Collection>
    <Class>Contacts</Class>
    <SyncKey>a919dd932c3d4eb38d1474424e4b7585/7/86/5</SyncKey>
    <CollectionId>7</CollectionId>
    <Options>
    <Conflict>1</Conflict>
    <MIMESupport>0</MIMESupport>
    </Options>
    <Commands>
    <Add>
    <ClientId>93</ClientId>
    <ApplicationData>
    <FirstName xmlns="Contacts:">blahblahblah</FirstName>
    <LastName xmlns="Contacts:">blahblahblah</LastName>
    <FileAs xmlns="Contacts:">blahblahblah blahblahblah</FileAs>
    <Email1Address xmlns="Contacts:">blahblahblah@blahblahblah.com</Email1Address>
    </ApplicationData>
    </Add>
    </Commands>
    </Collection>
    </Collections>
    </Sync>
     ----------
    sending : POST https://mx.domain.com/Microsoft-Server-ActiveSync?Cmd=Sync&User=test@domain1.com&DeviceType=Thunderbird&DeviceId=1420130425337
     ----------
    recieved : <?xml version="1.0"?>
    <Sync xmlns="AirSync:">
    <Collections>
    <Collection>
    <Class>Contacts</Class>
    <SyncKey>a919dd932c3d4eb38d1474424e4b7585/7/86/6</SyncKey>
    <CollectionId>7</CollectionId>
    <Status>1</Status>
    <Responses>
    <Add>
    <Status>1</Status>
    <ServerId>34944</ServerId>
    <ClientId>93</ClientId>
    </Add>
    </Responses>
    </Collection>
    </Collections>
    </Sync>
     ----------
    -----------------------------
    
    
    create new contact in Zimbra, now total == 94 contacts
    exec TZSync
    contact appears in Tbird, now total == 94 contacts
    
    error console:
    -----------------------------
    sending : <?xml version="1.0"?>
    <Sync xmlns="AirSync:">
    <Collections>
    <Collection>
    <Class>Contacts</Class>
    <SyncKey>a919dd932c3d4eb38d1474424e4b7585/7/86/6</SyncKey>
    <CollectionId>7</CollectionId>
    <DeletesAsMoves/>
    <GetChanges/>
    <WindowSize>100</WindowSize>
    <Options>
    <Conflict>1</Conflict>
    <MIMESupport>0</MIMESupport>
    </Options>
    </Collection>
    </Collections>
    </Sync>
     ----------
    sending : POST https://mx.domain.com/Microsoft-Server-ActiveSync?Cmd=Sync&User=test@domain1.com&DeviceType=Thunderbird&DeviceId=1420130425337
     ----------
    recieved : <?xml version="1.0"?>
    <Sync xmlns="AirSync:">
    <Collections>
    <Collection>
    <Class>Contacts</Class>
    <SyncKey>a919dd932c3d4eb38d1474424e4b7585/7/86/7</SyncKey>
    <CollectionId>7</CollectionId>
    <Status>1</Status>
    <Commands>
    <Add>
    <ServerId>34945</ServerId>
    <ApplicationData>
    <FirstName xmlns="Contacts:">testtesttest</FirstName>
    <LastName xmlns="Contacts:">testtesttest</LastName>
    <FileAs xmlns="Contacts:">testtesttest, testtesttest</FileAs>
    <Email1Address xmlns="Contacts:">testtesttest@testtesttest.com</Email1Address>
    </ApplicationData>
    </Add>
    </Commands>
    </Collection>
    </Collections>
    </Sync>
    -----------------------------

  7. #27
    Developer of the tzpush Thunderbird add-on.
    Join Date
    Nov 2014
    Posts
    19
    OK. Don't know what the problem was before.
    Let me know the results of any further test.
    Mark

  8. #28
    pgn
    pgn is offline
    Member
    Join Date
    Aug 2012
    Posts
    44
    Code:
    Looking at the Zimbra trace-log for the TZSync transaction,
    
    07:27:59.402:qtp509886383-11-selector-ServerConnectorManager@276438c9/0 OPENED HttpConnection@206125b{IDLE}
    07:27:59.403:qtp509886383-6549:http://192.168.1.111:8080/Microsoft-Server-ActiveSync?Cmd=Sync&User=test@domain1.com&DeviceType=Thunderbird&DeviceId=1420130425337 REQUEST 192.168.1.111 POST null; Thunderbird ActiveSync Lightning/3.6b3
    07:27:59.481:qtp509886383-6549:http://192.168.1.111:8080/Microsoft-Server-ActiveSync?Cmd=Sync&User=test@domain1.com&DeviceType=Thunderbird&DeviceId=1420130425337 RESPONSE 200 application/vnd.ms-sync.wbxml
    07:27:59.482:qtp509886383-6549 CLOSED HttpConnection@206125b{FILLING}
    07:28:16.908:qtp509886383-6549:https://192.168.1.111:7071/service/admin/soap/zextras REQUEST 192.168.1.222 POST ZM_ADMIN_AUTH_TOKEN=0_7f...r9p; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
    07:28:16.913:qtp509886383-6549:https://192.168.1.111:7071/service/admin/soap/zextras RESPONSE 200 text/javascript; charset=utf-8
    
    Note that there's an INsecure 'http://...:8080' connection invoked 1st.
    
    This is with "Use https://" checked in TZPush's settings.
    
    Shouldn't the entire transaction be https://, to the correctly-specified port?
    
    In zimbra, WEB PROXY ports are set with
    
    	./libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname`
    
    where
    
    	-a: Colon separated list of Web ports to use. Format: HTTP-STORE:HTTP-PROXY:HTTPS-STORE:HTTPS-PROXY
    
    and the DEFAULTS are "8080:80:8443:443"
    
    So, IIUC, that'd be (for DEFAULT port)
    
    	https://192.168.1.111:8443/Microsoft-Server-ActiveSync?Cmd=Sync&User=test@domain1.com&DeviceType=Thunderbird&DeviceId=1420130425337 REQUEST 192.168.1.111 POST null; Thunderbird ActiveSync Lightning/3.6b3
    
    , no?

  9. #29
    Developer of the tzpush Thunderbird add-on.
    Join Date
    Nov 2014
    Posts
    19
    Tzpush send the command as http or https depending on setting. If the server expects https and gets http it will (or should) reject it.
    If you need to change ports, just add the port number after the server, "server.com:8081".

    http://192.168.1.111:8080/Microsoft-Server-ActiveSync
    This is and internal network address? Is Zimbra redirecting? Is this a proxy thing
    Perhaps someone with more knowledge of Zimbra can explain?
    Mark

  10. #30
    Developer of the tzpush Thunderbird add-on.
    Join Date
    Nov 2014
    Posts
    19
    Here is a extension to get the GAL. It requires tzpush, It will take server settings from tzpush.
    Add a new address book in thunder bird. Select the address book in tzgal settings. Get Gal. This is a GAL down loader, not a sync.
    tzgal.xpi

    Please test and let me know results. It works on my zextras acount.
    Mark

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

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