Implement the mu_mailbox_get_uidls function and --uidl option in movemail.
* include/mailutils/mailbox.h (MU_UIDL_LENGH) (MU_UIDL_BUFFER_SIZE): New defines. (struct mu_uidl): New struct. (mu_mailbox_get_uidls): New prototype. * libproto/include/mailbox0.h (struct _mu_mailbox): New member _get_uidls. * libproto/pop/mbox.c: Implement _get_uidls. * libproto/pop/folder.c: Include mailutils/cctype.h. * mailbox/mailbox.c (mu_mailbox_get_uidls): New function. * movemail/movemail.c: Implement --uidl option: use UIDLs to avoid downloading same messages twice. Based on the idea of Alfred M. Szmidt. Implement --verbose option. * libproto/imap/mbox.c: Fix comment. * NEWS: Update. * doc/texinfo/programs.texi: Update.
Showing
9 changed files
with
312 additions
and
34 deletions
-
Please register or sign in to post a comment