]> Sergey Matveev's repositories - public-inbox.git/commit
pop3: TOP requests do not expire messages
authorEric Wong <e@80x24.org>
Wed, 20 Jul 2022 09:24:11 +0000 (09:24 +0000)
committerEric Wong <e@80x24.org>
Wed, 20 Jul 2022 16:52:11 +0000 (16:52 +0000)
commitb9bc55a39b65d6da9da8bf2ad5daaaa2933ab508
tree170c22bef51625ab745b332eff5ce3f4d978ed24
parent8abe7e6cda7bc9f8daa4e9cf6ef7e51b356902d5
pop3: TOP requests do not expire messages

RFC 2449 only documents "EXPIRE 0" behavior for RETR requests
which fetch the whole message.  TOP requests only fetch
the headers and top $N lines of the body, so it's probably
harmful for deletions to be triggered in those cases.
lib/PublicInbox/POP3.pm
t/pop3d.t