Jean Louis <bugs@gnu.support> ha escrit: > I cannot replicate now the hanging, as I don't want to spoil the > mailboxes.
Why do you think they will be spoiled? > 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 Thanks for additional data. Please apply the attached patch and recompile. Then, please re-run the command with and without -u. Regards, Sergey
diff --git a/libmailutils/stream/stream.c b/libmailutils/stream/stream.c index 0ddc435..2ab2cbe 100644 --- a/libmailutils/stream/stream.c +++ b/libmailutils/stream/stream.c @@ -1160,7 +1160,7 @@ mu_stream_ioctl (mu_stream_t stream, int family, int opcode, void *ptr) { int rc; _bootstrap_event (stream); - if ((rc = _stream_flush_buffer (stream, _MU_STR_FLUSH_ALL))) + if ((rc = _stream_flush_buffer (stream, _MU_STR_FLUSH_ALL|_MU_STR_FLUSH_KEEP))) return rc; if (stream->ctl == NULL) return ENOSYS;
_______________________________________________ Bug-mailutils mailing list Bug-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-mailutils