I cannot replicate now the hanging, as I don't want to spoil the mailboxes.
But I did a debug with the -u flag, and problem is: mailbox `/home/data1/protected/Maildir/courier': cannot get UIDLs: Requested item not found That courier is maildir, and totally empty. The command is: movemail --debug-level='mailbox.prot,!trace6' -v -u 'imaps://username:passw...@example.com:993/INBOX.courier' Maildir/courier I am using Courier IMAP as imap daemon. Capabilities shown are: movemail: S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN SMAP1 KEYWORDS ACL ACL2=UNION I can see emails, and on the end: movemail: S: 08 OK FETCH completed. movemail: mailbox `/home/data1/protected/Maildir/courier': cannot get UIDLs: Requested item not found movemail: C: 09 CLOSE movemail: S: 09 OK mailbox closed. And no emails are transferred. _______________________________________________ Bug-mailutils mailing list Bug-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-mailutils