From: Eric Wong <e@yhbt.net>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: meta@public-inbox.org
Subject: Re: I have figured out IMAP IDLE
Date: Thu, 14 May 2020 16:15:14 +0000 [thread overview]
Message-ID: <20200514161514.GA23314@dcvr> (raw)
In-Reply-To: <877dxelmsr.fsf@x220.int.ebiederm.org>
"Eric W. Biederman" <ebiederm@xmission.com> 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.
next prev parent reply other threads:[~2020-05-14 16:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-29 14:40 I have figured out IMAP IDLE Eric W. Biederman
2019-10-29 22:31 ` Eric Wong
2019-10-29 23:12 ` WWW::Curl [was: I have figured out IMAP IDLE] Eric Wong
2019-11-03 16:28 ` I have figured out IMAP IDLE Eric W. Biederman
2020-05-13 19:31 ` Eric Wong
2020-05-13 21:48 ` Eric W. Biederman
2020-05-13 22:17 ` Eric Wong
2020-05-14 12:32 ` Eric W. Biederman
2020-05-14 16:15 ` Eric Wong [this message]
2020-05-15 21:00 ` [PATCH 1/2] IMAPTracker: Add a helper to track our place in reading imap mailboxes Eric W. Biederman
2020-05-15 21:02 ` [PATCH 2/2] imap_fetch: Add a command to continuously fetch from an imap mailbox Eric W. Biederman
2020-05-15 21:26 ` Eric W. Biederman
2020-05-15 22:56 ` Eric Wong
2020-05-16 10:47 ` Eric W. Biederman
2020-05-16 19:12 ` Eric Wong
2020-05-16 20:09 ` Eric W. Biederman
2020-05-16 22:53 ` [PATCH] confine Email::MIME use even further Eric Wong
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=20200514161514.GA23314@dcvr \
--to=e@yhbt.net \
--cc=ebiederm@xmission.com \
--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).