[Dovecot] imapc with Outlook.com transfers max 22-23 messages per mailbox!?
Hi,
I'm trying to migrate a user from Outlook.com IMAP to Dovecot. I'm using a setup similar to that on http://wiki2.dovecot.org/Migration/Dsync:
imapc_host = imap-mail.outlook.com imapc_user = [...]@hotmail.com imapc_password = [...] imapc_features = rfc822.size fetch-headers mail_prefetch_count = 20
imapc_port = 993 imapc_ssl = imaps imapc_ssl_verify = yes ssl_client_ca_dir = /etc/ssl # this needs fixing on the wiki page
Here's how I sync a single mailbox, which should have a few hundred messages in it:
% doveadm -D -v -c [...] sync -1 -R -u [...] -m Avalon imapc:
Output is at http://sabi.net/temp/sync.txt
But every mailbox contains at most 22-23 messages.
% for i in Maildir/**/cur; do echo $i $(ls -1 $i | wc -l) done Maildir/Alaska/cur 23 Maildir/Avalon/cur 22 Maildir/Christine Scott/cur 22 Maildir/Cornell/cur 22 Maildir/Coupons/cur 10 Maildir/Deleted/cur 22 [...]
I was using 2.2.9 but I also tried with the dovecot-2.2 hg tip and did not see any difference.
Is there a rawlog equivalent for imapc? I'm hoping that there is a simple protocol usage change that could let me get entire mailboxes.
Nicholas Riley <njriley@illinois.edu>
For future reference, I ended up using OfflineIMAP instead (doesn't give me indexing/LDA functionality, but I'll just do that separately). This seems clearly like a server bug as mbsync/isync also had an issue finding all the messages in each mailbox.
In article <njriley-12092C.17352005052014@news.gmane.org>, Nicholas Riley <njriley@illinois.edu> wrote:
Hi,
I'm trying to migrate a user from Outlook.com IMAP to Dovecot. I'm using a setup similar to that on http://wiki2.dovecot.org/Migration/Dsync:
imapc_host = imap-mail.outlook.com imapc_user = [...]@hotmail.com imapc_password = [...] imapc_features = rfc822.size fetch-headers mail_prefetch_count = 20
imapc_port = 993 imapc_ssl = imaps imapc_ssl_verify = yes ssl_client_ca_dir = /etc/ssl # this needs fixing on the wiki page
Here's how I sync a single mailbox, which should have a few hundred messages in it:
% doveadm -D -v -c [...] sync -1 -R -u [...] -m Avalon imapc:
Output is at http://sabi.net/temp/sync.txt
But every mailbox contains at most 22-23 messages.
% for i in Maildir/**/cur; do echo $i $(ls -1 $i | wc -l) done Maildir/Alaska/cur 23 Maildir/Avalon/cur 22 Maildir/Christine Scott/cur 22 Maildir/Cornell/cur 22 Maildir/Coupons/cur 10 Maildir/Deleted/cur 22 [...]
I was using 2.2.9 but I also tried with the dovecot-2.2 hg tip and did not see any difference.
Is there a rawlog equivalent for imapc? I'm hoping that there is a simple protocol usage change that could let me get entire mailboxes.
Nicholas Riley <njriley@illinois.edu>
I can recommend imapsync for that job
see : https://github.com/imapsync/imapsync
yours sincerely Robert
Von: Nicholas Riley <njriley@illinois.edu> An: dovecot@dovecot.org Datum: 06.05.2014 23:52 Betreff: Re: [Dovecot] imapc with Outlook.com transfers max 22-23 messages per mailbox!? Gesendet von: "dovecot" <dovecot-bounces@dovecot.org>
For future reference, I ended up using OfflineIMAP instead (doesn't give me indexing/LDA functionality, but I'll just do that separately). This seems clearly like a server bug as mbsync/isync also had an issue finding all the messages in each mailbox.
In article <njriley-12092C.17352005052014@news.gmane.org>, Nicholas Riley <njriley@illinois.edu> wrote:
Hi,
I'm trying to migrate a user from Outlook.com IMAP to Dovecot. I'm using a setup similar to that on http://wiki2.dovecot.org/Migration/Dsync:
imapc_host = imap-mail.outlook.com imapc_user = [...]@hotmail.com imapc_password = [...] imapc_features = rfc822.size fetch-headers mail_prefetch_count = 20
imapc_port = 993 imapc_ssl = imaps imapc_ssl_verify = yes ssl_client_ca_dir = /etc/ssl # this needs fixing on the wiki page
Here's how I sync a single mailbox, which should have a few hundred messages in it:
% doveadm -D -v -c [...] sync -1 -R -u [...] -m Avalon imapc:
Output is at http://sabi.net/temp/sync.txt
But every mailbox contains at most 22-23 messages.
% for i in Maildir/**/cur; do echo $i $(ls -1 $i | wc -l) done Maildir/Alaska/cur 23 Maildir/Avalon/cur 22 Maildir/Christine Scott/cur 22 Maildir/Cornell/cur 22 Maildir/Coupons/cur 10 Maildir/Deleted/cur 22 [...]
I was using 2.2.9 but I also tried with the dovecot-2.2 hg tip and did not see any difference.
Is there a rawlog equivalent for imapc? I'm hoping that there is a simple protocol usage change that could let me get entire mailboxes.
Nicholas Riley <njriley@illinois.edu>
On 6.5.2014, at 1.35, Nicholas Riley <njriley@illinois.edu> wrote:
Here's how I sync a single mailbox, which should have a few hundred messages in it:
% doveadm -D -v -c [...] sync -1 -R -u [...] -m Avalon imapc:
Output is at http://sabi.net/temp/sync.txt
But every mailbox contains at most 22-23 messages.
Dunno.
Is there a rawlog equivalent for imapc? I'm hoping that there is a simple protocol usage change that could let me get entire mailboxes.
imapc_rawlog_dir = /path
In article <049D36AA-81FF-4201-93F3-5BEEE1663D82@iki.fi>, Timo Sirainen <tss@iki.fi> wrote:
On 6.5.2014, at 1.35, Nicholas Riley <njriley@illinois.edu> wrote:
Here's how I sync a single mailbox, which should have a few hundred messages in it:
% doveadm -D -v -c [...] sync -1 -R -u [...] -m Avalon imapc:
Output is at http://sabi.net/temp/sync.txt
But every mailbox contains at most 22-23 messages.
Dunno.
Is there a rawlog equivalent for imapc? I'm hoping that there is a simple protocol usage change that could let me get entire mailboxes.
imapc_rawlog_dir = /path
Thanks, that's very helpful.
I created a test mailbox with 30 messages in it. Dovecot seems to
successfully enumerate all 30 messages but only retrieves 4 of them.
Here is the rawlog output:
http://sabi.net/temp/dovecot-rawlog/in.log http://sabi.net/temp/dovecot-rawlog/out.log
Nicholas Riley <njriley@illinois.edu>
participants (3)
-
Nicholas Riley
-
Robert Nowotny
-
Timo Sirainen