From 4041a95304b5d7d7931c6366da29d2accb2bc7d3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 22 Sep 2023 02:18:17 +0000 Subject: pop3: support initial_limit parameter in mailbox name `initial_limit' only affects the fetch for new users while `limit' affects all users. `initial_limit' is intended to be better than the existing, absolute `limit' for 24/7 servers (e.g. scheduled POP3 imports via webmail). The existing `limit' parameter remains and is best suited for systems with sporadic Internet access. This also fixes an offset calculation bug with limit when used on the newest (non-full) slice. The number of messages in the newest slice is now taken into account. Link: https://public-inbox.org/meta/20230918-barrel-unhearing-b63869@meerkat/ Fixes: 392d251f97d4 (pop3: support `?limit=$NUM' parameter in mailbox name) --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 7dba3836..4693cbe0 100644 --- a/MANIFEST +++ b/MANIFEST @@ -558,6 +558,7 @@ t/plack-2-txt-bodies.eml t/plack-attached-patch.eml t/plack-qp.eml t/plack.t +t/pop3d-limit.t t/pop3d.t t/precheck.t t/psgi_attach.eml -- cgit v1.2.3-24-ge0c7