unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: APOP-only POP3 clients?
Date: Fri, 27 May 2022 10:53:02 +0000	[thread overview]
Message-ID: <20220527105302.M842323@dcvr> (raw)

cf. https://tools.ietf.org/html/rfc1939

Well, POP3 clients being webmail services which import from
POP3, mainly...  Just wondering, are there POP3 clients which do
NOT support USER/PASS and enforce the use of APOP for
authentication?

Background:  POP3 is one mailbox per-user, so we'll rely on
the username being $NEWSGROUP.$SLICE (same idea as IMAP, to
limit mailboxes to 50k to avoid problems).

POP3 clients can be distinguished by PASS (password cookie), to
keep track of per-client message deletions.  The output of
`uuidgen` or `dbus-uuidgen` is a sufficiently-unique cookie for
distinguishing clients from each other.

Initially, that would be:

	username: $NEWSGROUP.$SLICE
	password: $UUID

for POP3 USER/PASS support.

However, supporting APOP that way would inflict a usability
problem for all users since the password is sent as a digest and
the actual password is never sent unencrypted.  Our POP3 server
would have no clue how to match a digest to a password since
many clients will be sharing the username.

So far, the solution I come up with is to require another UUID
to be part of the username, too:

	username: $UUID_1@$NEWSGROUP.$SLICE
	password: $UUID_2

Which may be an extremely long username...  Now I'm thinking
it's safe for UUID_1 and UUID_2 to be the same, to save storage
space on the server and to save users from dealing with
excessively long, compression-unfriendly field entries. So,
this:
	username: $UUID@$NEWSGROUP.$SLICE
	password: $UUID

             reply	other threads:[~2022-05-27 10:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-27 10:53 Eric Wong [this message]
2022-05-27 12:28 ` APOP-only POP3 clients? Konstantin Ryabitsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220527105302.M842323@dcvr \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).