Recent (probably MacOS) mail app provoking endless cyrus.index writes on 2.3 server. [WARNING: DKIM validation failed]

ktm at rice.edu ktm at rice.edu
Sat Oct 24 12:20:38 EDT 2015


On Fri, Oct 23, 2015 at 03:34:22PM -0500, ktm at rice.edu wrote:
> On Fri, Oct 23, 2015 at 09:37:28AM +1100, Bron Gondwana wrote:
> > > 
> > > If they are thinking that the example in the RFC is the specification, they are
> > > not correct. The IMAP server responses to determine completion of the EXPUNGE
> > > command are "OK" for a completed EXPUNGE, "NO" for a failure, and "BAD for unknown
> > > command or invalid arguments. Everything after those words are not germane to
> > > whether or not the command completed. The tag is what links the OK to the EXPUNGE
> > > command and not the "EXPUNGE completed". Sigh, they had it right and now it is
> > > broken.
> > 
> > Actually, the ImapTest command complained about this too:
> > 
> > http://imapwiki.org/ImapTest
> > 
> > >From RFC3501:
> > 
> > response-tagged = tag SP resp-cond-state CRLF
> > 
> > 
> > resp-cond-state = ("OK" / "NO" / "BAD") SP resp-text
> >                     ; Status condition
> > 
> > resp-text       = ["[" resp-text-code "]" SP] text
> > 
> > text            = 1*TEXT-CHAR
> > 
> > So the exact text after the OK response doesn't matter, but it MUST be SP followed by at least 1 TEXT-CHAR.
> > 
> > This is pretty easy to patch in 2.3.x if you're forced to remain there for reasons.  It is, of course, fixed in later versions.
> > 
> > Bron.
> > 
> 
> Hi Bron,
> 
> I don't suppose you have a patch? If not, I will work one up.
> 
> Regards,
> Ken

Hi Bron,

I should have looked at the telemetry. The Redhat version I am running
2.3.16-13.el6_6 does send the appropriate response to the EXPUNGE command,
at least for mutt. I will have to get some telemetry from an El Capitan
connection to see what it is doing:

mutt
----
a0010 EXPUNGE
>1445702635>a0009 OK Completed
>1445702635>* 1524 EXPUNGE
* 1601 EXISTS
* 0 RECENT
a0010 OK Completed
<1445702638<a0011 CLOSE
a0012 LOGOUT
>1445702638>a0011 OK Completed
>1445702638>* BYE LOGOUT received
a0012 OK Completed

I will dig into it further on Monday.

Regards,
Ken


More information about the Info-cyrus mailing list