MBOX-Line: From ams at oryx.com  Wed May 23 18:24:01 2007
To: imap-protocol@u.washington.edu
From: Abhijit Menon-Sen <ams@oryx.com>
Date: Fri Jun  8 12:34:39 2018
Subject: [Imap-protocol] FLAGS response
Message-ID: <20070524012401.GA30894@penne.toroid.org>

Hi.

The description of the FLAGS response in RFC 3501, section 7.2.6 says it
"identifies the flags that are applicable for this mailbox". Our server
allows arbitrary flags to be created. What is an appropriate response?

At the moment, I'm sending a list of flags that currently exist in the
mailbox, but that's a fairly expensive operation. Is this useful to the
client? Does it tell them anything that the \* in my PERMANENTFLAGS
response doesn't?

What if I were to send only the system flags and omit any user-defined
flags altogether? Should I then send an unsolicited FLAGS response to
announce the new flag just before I send a FETCH response containing
one, or would that just confuse clients?

(What do clients actually DO with the FLAGS response that they are
required to record?)

Thanks.

--
Abhijit Menon-Sen
Oryx Mail Systems GmbH

