Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-19 Thread Konstantin Ryabitsev
On Mon, Sep 18, 2023 at 09:14:22PM +, Eric Wong wrote: > > Oh, I did notice what is probably unintentional behaviour -- passing > > ?limit=XXX affects all mailbox access, not just the initial retrieval. > > > > E.g. if I configured pop3 with ?limit=128, then leave for the weekend and > >

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-18 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Fri, Sep 15, 2023 at 08:41:10PM +, Eric Wong wrote: > > Thanks, pushed the series as > > a37e3ab3740c24c3 (pop3: limit default mailbox to 1K messages, 2023-09-14) > > 392d251f97d46579 (pop3: support `?limit=$NUM' parameter in mailbox name, > > 2023-09-12) >

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-18 Thread Konstantin Ryabitsev
On Fri, Sep 15, 2023 at 08:41:10PM +, Eric Wong wrote: > Thanks, pushed the series as > a37e3ab3740c24c3 (pop3: limit default mailbox to 1K messages, 2023-09-14) > 392d251f97d46579 (pop3: support `?limit=$NUM' parameter in mailbox name, > 2023-09-12) Oh, I did notice what is probably

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-15 Thread Eric Wong
Konstantin Ryabitsev wrote: > Tested-by: Konstantin Ryabitsev Thanks, pushed the series as a37e3ab3740c24c3 (pop3: limit default mailbox to 1K messages, 2023-09-14) 392d251f97d46579 (pop3: support `?limit=$NUM' parameter in mailbox name, 2023-09-12)

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-15 Thread Konstantin Ryabitsev
On Thu, Sep 14, 2023 at 12:38:28AM +, Eric Wong wrote: > > My initial target for deploying POP3 support is to allow Gmail users to > > pull-subscribe to mailing lists, since Gmail is the #1 provider that we have > > trouble with message delivery due to their draconian threshold limits. > >

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-15 Thread Konstantin Ryabitsev
On Wed, Sep 13, 2023 at 10:03:26PM +, Eric Wong wrote: > > What if we move the uuid into the password field -- it seems it belongs > > there > > anyway, as it's tied to the user cookie. > > I've thought about that, too; but it can get tricky since passwords > aren't visible in most UIs.

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-13 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Tue, Sep 12, 2023 at 10:40:34PM +, Eric Wong wrote: > > Perhaps 50K is too much? I figured clients would have a way to > > limit that, but I don't really pay attention to POP3 clients... > > The few clients I looked at didn't give any option to specify how

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-13 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Wed, Sep 13, 2023 at 06:20:40AM +, Eric Wong wrote: > > Eric Wong wrote: > > > I'm not sure if `?' or `=' are allowed characters in POP3 > > > mailbox names. In fact, I can't find any information on > > > valid characters allowed in RFC 1081 nor RFC 1939. >

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-13 Thread Konstantin Ryabitsev
On Tue, Sep 12, 2023 at 10:40:34PM +, Eric Wong wrote: > Perhaps 50K is too much? I figured clients would have a way to > limit that, but I don't really pay attention to POP3 clients... The few clients I looked at didn't give any option to specify how many remote messages I want to retrieve,

Re: [RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-13 Thread Eric Wong
Eric Wong wrote: > I'm not sure if `?' or `=' are allowed characters in POP3 > mailbox names. In fact, I can't find any information on > valid characters allowed in RFC 1081 nor RFC 1939. Of course, the parameters and all manner of special characters can also be placed the password, so

[RFC] pop3: support `?limit=$NUM' parameter in mailbox name

2023-09-12 Thread Eric Wong
Konstantin Ryabitsev wrote: > Hello: > > I've been playing around with pop3, and I'm wondering if we can improve its > usability by adding a "last NNN messages" pseudo-folder. Currently, if someone > wants to access the git mailing list archive via pop3, they have to do the > following: > > -