]> Sergey Matveev's repositories - public-inbox.git/commit
imap: only give AUTH=ANONYMOUS clients prefetch
authorEric Wong <e@80x24.org>
Mon, 8 Aug 2022 23:16:46 +0000 (23:16 +0000)
committerEric Wong <e@80x24.org>
Tue, 9 Aug 2022 16:41:48 +0000 (16:41 +0000)
commit42fe10a95f0bac3beea2fc277c604158d3275d1f
treed06339b56ad8c4c6e6f4de2b801a21be0c6bc6a8
parentc7ce8b45ccfa25953a877e148cec4a103b2dda9b
imap: only give AUTH=ANONYMOUS clients prefetch

Looking at IMAP traffic on public-inbox.org, it seems there is a
fair amount of traffic coming from malicious clients assuming
the IMAP server is compromised and searching for private
information.  Since AUTH=ANONYMOUS clients are more likely to
be legitimate clients looking for publicly-archived mail,
give them priority.
lib/PublicInbox/IMAP.pm