Hi Alfred,

Sergey Poznyakoff <[email protected]> ha escrit:

>    That's true, the POP3 protocol contains the `UIDL' command which
>    translates message numbers to their UIDLs.  Unfortunately there is
>    no way to use it directly in libmailutils.  Allow me some time to
>    figure out the best way of implementing it :)

I have implemented the mu_mailbox_get_uidls function, which returns
a list of message numbers with the corresponding UIDLs. It is pretty
effective for pop:// mailboxes, if the remote server supports the
UIDL command. For the rest of mailboxes it degrades to retrieving UIDLs
of each message. The implementation for imap:// mailboxes is coming
soon.

The `movemail' utility now has the `--uidl' option, that instructs it
to use UIDLs to avoid downloading the same message twice. Thanks for
the idea!

Regards,
Sergey



_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to