From 131649a1217c8653f54850645da56d3b559e7309 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 8 Sep 2013 20:16:49 +0100 Subject: ftpserver.pl: Corrected POP3 LIST as message numbers should be contiguous The message numbers given in the LIST response are an index into the list, which are only valid for the current session, rather than being a unique message identifier. An index would only be missing from the LIST response if a DELE command had been issued within the same session and had not been committed by the end of session QUIT command. Once committed the POP3 server will regenerate the message numbers in the next session to be contiguous again. As such our LIST response should list message numbers contiguously until we support a DELE command in the same session. Should a POP3 user require the unique message ID for any or all messages then they should use the extended UIDL command. This command will be supported by the test ftpserver in an upcoming commit. --- tests/data/test853 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test853') diff --git a/tests/data/test853 b/tests/data/test853 index 934837f64..3d2a6712a 100644 --- a/tests/data/test853 +++ b/tests/data/test853 @@ -19,7 +19,7 @@ SLOWDOWN 1 100 2 4294967400 -4 200 +3 200 -- cgit v1.2.3