Giter VIP home page Giter VIP logo

Comments (11)

KlugFR avatar KlugFR commented on July 20, 2024

Super strange it works on another account (same servers, same admin).

Here's the command used:

imapsync --syncinternaldates --exclude 'Commun|COMMUN|commun|appointment|contact|document|task' --host1 server1.domain.tld --user1 [email protected] --authuser1 [email protected] --password1 XXXXX --port1 993 --ssl1 --host2 server2.domain.tld --user2 [email protected] --authuser2 [email protected] --password2 XXXXX --port2 993 --ssl2 --buffersize 8192000 --useuid

from imapsync.

gilleslamiral avatar gilleslamiral commented on July 20, 2024

Host1: found 0 folders.

This is not good. There should be at least one, INBOX.

The host1 admin account doesn't look very powerful.
Check the logs of host1 Zimbra.

Do this without the admin account and see the differences. There should be none.

from imapsync.

KlugFR avatar KlugFR commented on July 20, 2024

Waiting for the log files from the source server.

I found the same issue referenced here: #296
In my case, the accounts are active on both servers.

from imapsync.

KlugFR avatar KlugFR commented on July 20, 2024

A bit more with --debugimap1

Sending: 5 LIST "" *
Sent 13 bytes
Read:   5 NO LIST failed
ERROR: 5 NO LIST failed at /usr/share/perl5/Mail/IMAPClient.pm line 1388.
        Mail::IMAPClient::__ANON__("5 NO LIST failed\x{d}\x{a}") called at /usr/share/perl5/Mail/IMAPClient.pm line 1424
        Mail::IMAPClient::_get_response(Mail::IMAPClient=HASH(0x55deff896ee8), 5, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 1350
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0x55deff896ee8), "LIST \"\" *") called at /usr/share/perl5/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x55deff896ee8), "LIST \"\" *") called at /usr/share/perl5/Mail/IMAPClient.pm line 679
        Mail::IMAPClient::_list_or_lsub(Mail::IMAPClient=HASH(0x55deff896ee8), "LIST", undef, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 685
        Mail::IMAPClient::list(Mail::IMAPClient=HASH(0x55deff896ee8), undef, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 723
        Mail::IMAPClient::_folders_or_subscribed(Mail::IMAPClient=HASH(0x55deff896ee8), "list", undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 745
        Mail::IMAPClient::folders(Mail::IMAPClient=HASH(0x55deff896ee8)) called at /usr/local/bin/imapsync line 2139
        main::single_sync(HASH(0x55deff8365d0), HASH(0x55defd98e4b8), HASH(0x55deff836750)) called at /usr/local/bin/imapsync line 1374
ERROR: 5 NO LIST failed at /usr/share/perl5/Mail/IMAPClient.pm line 1298.
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x55deff896ee8), "LIST \"\" *") called at /usr/share/perl5/Mail/IMAPClient.pm line 679
        Mail::IMAPClient::_list_or_lsub(Mail::IMAPClient=HASH(0x55deff896ee8), "LIST", undef, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 685
        Mail::IMAPClient::list(Mail::IMAPClient=HASH(0x55deff896ee8), undef, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 723
        Mail::IMAPClient::_folders_or_subscribed(Mail::IMAPClient=HASH(0x55deff896ee8), "list", undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 745
        Mail::IMAPClient::folders(Mail::IMAPClient=HASH(0x55deff896ee8)) called at /usr/local/bin/imapsync line 2139
        main::single_sync(HASH(0x55deff8365d0), HASH(0x55defd98e4b8), HASH(0x55deff836750)) called at /usr/local/bin/imapsync line 1374
Host1: found 0 folders.
Host2: found 5 folders.

Seems to be a Zimbra bug that happen "sometimes" for "some users".
iSync encounters the same issue against a Zimbra server: https://sourceforge.net/p/isync/mailman/message/36626563/

from imapsync.

gilleslamiral avatar gilleslamiral commented on July 20, 2024

What happens without the admin authentication?

from imapsync.

KlugFR avatar KlugFR commented on July 20, 2024

I don't have the users passwords 8-/

I'll try go get a temporary password for a failing account.

from imapsync.

KlugFR avatar KlugFR commented on July 20, 2024

Here's the log server side, nothing about an auth (admin) issue:

2023-11-28 08:51:16,820 INFO  [ImapSSLServer-22920] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - ID elapsed=0 (NIO)
2023-11-28 08:51:16,876 WARN  [ImapSSLServer-22927] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - LIST failed
2023-11-28 08:51:16,876 INFO  [ImapSSLServer-22927] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - LIST elapsed=20 (NIO)
2023-11-28 08:51:16,911 INFO  [ImapSSLServer-22920] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - NAMESPACE elapsed=0 (NIO)
2023-11-28 08:51:16,942 INFO  [ImapSSLServer-22927] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - NAMESPACE elapsed=0 (NIO)
2023-11-28 08:51:16,975 INFO  [ImapSSLServer-22920] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - LSUB elapsed=1 (NIO)
2023-11-28 08:51:17,022 WARN  [ImapSSLServer-22927] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - LIST failed
2023-11-28 08:51:17,023 INFO  [ImapSSLServer-22927] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - LIST elapsed=13 (NIO)
2023-11-28 08:51:17,059 INFO  [ImapSSLServer-22920] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - selected folder INBOX
2023-11-28 08:51:17,059 INFO  [ImapSSLServer-22920] [[email protected];ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - SELECT elapsed=3 (NIO)
2023-11-28 08:51:17,090 INFO  [ImapSSLServer-22927] [[email protected];mid=624;ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - UID SEARCH elapsed=1 (NIO)
2023-11-28 08:51:17,171 INFO  [ImapSSLServer-22920] [[email protected];mid=624;ip=172.22.4.246;oip=172.22.11.1;via=172.22.4.246(nginx/1.20.0);ua=imapsync/2.268;cid=219117;] imap - LOGOUT elapsed=1 (NIO)

from imapsync.

gilleslamiral avatar gilleslamiral commented on July 20, 2024

You're good for a bug report to Zimbra.
They used to be reactive.

Could it be a flag in the Zimbra configuration, something like "Show only subscribed folders"?

from imapsync.

KlugFR avatar KlugFR commented on July 20, 2024

Currently digging in with Zimbra's support.
Could be related to broken shares within the accounts that don't work.

from imapsync.

KlugFR avatar KlugFR commented on July 20, 2024

That was it.

So if anyone has the issue...
Check there are no broken mountpoints in the account you are trying to sync.
Broken mountpoints appear strikethrough in the webmail.

Just remove the broken mountpoint (clicking on it in the webmail will show a popup you just have to confirm) and Zimbra will stop answering there's zero IMAP folder to the LIST "" *.

from imapsync.

gilleslamiral avatar gilleslamiral commented on July 20, 2024

Just updated https://imapsync.lamiral.info/FAQ.d/FAQ.Zimbra.txt
with your input:

=======================================================================
Q. Imapsync finds 0 folders on a Zimbra account.

A. Check there are no broken mount points in the account you are trying 
   to sync. Broken mount points appear to strike through in the webmail.

   Just remove the broken mount point (clicking on it in the webmail 
   will show a popup you just have to confirm) and Zimbra will stop 
   answering there's zero IMAP folder to the LIST "" *.

   From https://github.com/imapsync/imapsync/issues/426

=======================================================================

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.