On 352, 12 17, 2004 at 03:55:30PM +0200, Timo Sirainen wrote:
On Fri, 2004-12-17 at 14:16 +0300, Andrey Panin wrote:
On 351, 12 16, 2004 at 03:58:16AM +0200, Timo Sirainen wrote:
- Added pop3_uidl_format setting. No need to patch sources anymore if
you don't want the default.
Attached small patch adds Courier 0.x UIDL compatibiliy code.
There is one problem. It may return the ":2,flags" part as well which isn't wanted in UIDL. It might be useful for things like implementing Maildir++ quota in a plugin though..
Forgot about that.
POP3 code shouldn't either assume that ':' and everything after it should be removed. Hmm. Perhaps just use a different name than MAIL_FETCH_FILE_NAME. But there's not much point in having a maildir-specific MAIL_FETCH_BASE_FILE_NAME either. Maybe MAIL_FETCH_SPECIAL_UIDL?
I vote for MAIL_FETCH_SPECIAL_UIDL. Does attached patch looks better ?
All solutions I can think of just feel dirty :)
Backward compatibility, ughhm :)
-- Andrey Panin | Linux and UNIX system administrator pazke@donpac.ru | PGP key: wwwkeys.pgp.net