[Dovecot] POP3 extension to accept UIDL ranges?

Matthias Andree matthias.andree at gmx.de
Fri Mar 10 01:15:55 EET 2006


On Thu, 09 Mar 2006, Timo Sirainen wrote:

> So, if no POP3 clients support this, why add an extension instead of  
> using IMAP?

Hen and egg problem. :-)

Seriously, fetchmail 6.2.5 accidentally used UIDL ranges when using APOP
(or the way obsolete RPOP) as the result of the bug, and ISTR the fix
was one line of code that adjusted the limit for ranges to 1.

For proper operation, we'd have to support this for LIST as well, but it
appears that's basically the same code.

IOW, reenabling UIDL ranges in fetchmail when a server supports them
would be a matter of changing less than a dozen lines of code, adding
one variable to the server tracking struct, perhaps one line of
initializing it and adding two lines to the CAPA parser.

IMAP on the other hand is pretty heavyweight, which spurred Sam
Varshavchik to invent SMAP (Simple Message Access P., implemented in
Courier-IMAP server-side and CONE client-side).

-- 
Matthias Andree


More information about the dovecot mailing list