Gordon Messmer writes:

Sam, I've been talking to Brian about his problem and come across
something interesting.  I'm running version 0.60.0 on my test machine.

If I wipe the courierpop3dsizelist file from my Maildir, log in to pop3d
and issue the UIDL command, I get a list of messages with what I think
is the old format of UIDL:

UIDL
+OK
1 1040325490.5556_0.ascension.dragonsdawn.net,S=4330
...
64 
1226007514.M382691P17051V0000000000000903I0000000000418025_0.ascension.private.dragonsdawn.net,S=3806
65 
1226007996.M830549P17205V0000000000000903I0000000000418022_0.ascension.private.dragonsdawn.net,S=657
.

My courierpop3dsizelist file contains:

/2 66 1226008431
1040325490.5556_0.ascension.dragonsdawn.net,S=4330:2,S 4429 0:1226008431
...
1226007514.M382691P17051V0000000000000903I0000000000418025_0.ascension.private.dragonsdawn.net,S=3806:2,RS
 3895 0:1226008431
1226007996.M830549P17205V0000000000000903I0000000000418022_0.ascension.private.dragonsdawn.net,S=657:2,S
 673 0:1226008431

Naturally, if I log in again, I get the same output from UIDL.  However,
any new message delivered to my mailbox will get a different UIDL format:

UIDL
+OK
1 1040325490.5556_0.ascension.dragonsdawn.net,S=4330
...
64 
1226007514.M382691P17051V0000000000000903I0000000000418025_0.ascension.private.dragonsdawn.net,S=3806
65 
1226007996.M830549P17205V0000000000000903I0000000000418022_0.ascension.private.dragonsdawn.net,S=657
66 UID66-1226008431
.

courierpop3dsizelist then contains:

/2 67 1226008431
1040325490.5556_0.ascension.dragonsdawn.net,S=4330:2,S 4429 0:1226008431
...
1226007514.M382691P17051V0000000000000903I0000000000418025_0.ascension.private.dragonsdawn.net,S=3806:2,RS
 3895 0:1226008431
1226007996.M830549P17205V0000000000000903I0000000000418022_0.ascension.private.dragonsdawn.net,S=657:2,S
 673 0:1226008431
1226008772.M723344P17352V0000000000000903I000000000041802E_0.ascension.private.dragonsdawn.net,S=657:2,
 673 66:1226008431

So it looks like pop3d is generating old style records if the file
doesn't already exist?  Is that a bug?

Maybe, maybe not. New accounts should not have any mail in them, of course. If the very first time pop3d opens a mailbox it finds messages but not the courierpop3dsizelist file, pop3d presumes that this mailbox was upgraded from an older version of Courier that did not use the courierpop3dsizelist file, and a different UIDL format, so it assigns older, compatible, UIDs to existing messages, and, going forward, new messages get the newer-style UIDs.


Attachment: pgphFp1i7zocV.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to