"Eric W. Biederman" <[email protected]> wrote:
> Just implementing the UID=>1 commands definitely sounds like a place to
> start. At least that should be enough for testing.
Heh, except "UID FETCH" returns sequence numbers :<
Since we're only doing read-only IMAP, I think it's safe to make
sequence numbers equivalent to UIDs (which are NNTP article
numbers). Dummy messages can be returned if somebody starts
trying to retrieve by non-existent sequence numbers.
> I will rebase and post my code in the next day or so, depending on how
> my schedule goes.
Thanks. For the purposes of public-inbox-watch, I think the
only item UID FETCH really needs is the full message
("RFC822" aka "BODY[]").
I'll have to see what other IMAP clients out there expect;
but I'm not looking forward to translating all search queries
to SQL or Xapian; just "ALL", $UID_LO:$UID_HI and maybe some
other simple cases which don't require a recursive descent
parser.
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/