bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] figuring out mailuils...


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] figuring out mailuils...
Date: Wed, 08 Jul 2009 18:10:32 +0300

Hi Alfred,

Sergey Poznyakoff <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]