Comments (11)
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.
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.
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.
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.
What happens without the admin authentication?
from imapsync.
I don't have the users passwords 8-/
I'll try go get a temporary password for a failing account.
from imapsync.
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.
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.
Currently digging in with Zimbra's support.
Could be related to broken shares within the accounts that don't work.
from imapsync.
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.
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)
- mapsync Ended by a signal TERM HOT 1
- Handling slashes "/" in folder names HOT 6
- Install on M1 via brew HOT 1
- Syncing Imap Sync from Imap account to Mail Plus ? HOT 24
- log duplicates HOT 1
- Ignore "ERR_APPEND" HOT 4
- Website is down HOT 3
- Resync recommandations and Duplicates HOT 5
- Error with sieve/managesieve.sieve file and the .dovecot.sieve symlink
- Authentication failed only on host1 issue HOT 4
- Docker: Store logs on a different volume outside of the container HOT 1
- Special characters in foldernames HOT 1
- delete mail host1 based on space\quota HOT 3
- Total on host2 greater than on host1 although size is lesser HOT 1
- Invalid Perl type for string HOT 1
- line 13: 36766 Killed: 9 HOT 2
- How to use --oauthaccesstoken1 correctly with gmail? HOT 5
- Sync multiple folders into Inbox HOT 3
- Exchange inbox not synced ? HOT 2
- Problem excluding folders with spaces from sync HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imapsync.