-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported ID
command variant
#12
Comments
RFC 2971 contains all the necessary references.
The referenced IMAP4rev1 spec (RFC 2060) contains:
The referenced RFC 822 has this to say:
So the original
could be written in modern notation as
or
if you prefer to have it all in one rule. |
Thanks! I should have followed the RFC tracks more carefully. |
Follow-up question: The above definition allows ...
It's tempting to treat |
Okay, that was fast ...
Maybe it should be a
|
Dovecot, Gmail, Zoho are fine with |
Most people implementing the ID extension, probably don't spend much time thinking about the empty list case. As a server I would expect the client to at least send a "name" value. Otherwise why send the ID command? Email clients typically don't display the server response to the user. |
Yeah. The reason I'm asking is because I'm not sure how to encode the ID command in
The RFC explicitly mentions proxies: When a proxy removes a particular list item (from a list with only one element), it could maintain the intent "client wanted to send a list" by forwarding |
I should explain a bit: |
What's written in the standards and what's used in the wild are sometimes very different things. I'm not sure a quirks mode will be enough to bridge that gap. It feels like those should be two different libraries. You probably disagree right now. But I'm sure you'll eventually come to the same conclusion in time 😄 |
Hehe, you mean we should have an Current status is: We have an identity proxy that works well with Thunderbird and a few large providers. (That's where some of the defects and fixes in this repo come from.) So, I still hope we can at least get the syntax straight. IMAP operations are a different topic ... But I see where you are coming from and how you may be right in the end -- even though I hope you are not :-) Looking forward to the protocol police. |
@chibenwa, I think you came across something similar :-) |
Correct. It was Office 365 failing if the server answer contains The not fun fact was that it was completly crashing the connection... |
IMAP's
ID
command allows()
, andnil
to encode an empty parameter list:Some servers don't recognize both variants.
RFC 2971 uses ...
... to define the parameter list.
I believe that
::=
should be=
(according to the current ABNF definition) and that#
means "separated by whitespace"¹ (according to the examples).Question: Does
#
mean1*
("at least one") or*
("zero or many")?¹ I saw it described in other contexts as "separated by comma".
Offending implementation: Nemesis, Exchange
The text was updated successfully, but these errors were encountered: