quotawarn IMAP response status

Cyrus Daboo daboo at cyrusoft.com
Mon Apr 21 11:27:51 EDT 2003


Hi Scott,

--On Monday, April 21, 2003 10:57 AM -0400 Scott Russell 
<lnxgeek at us.ibm.com> wrote:

|> I noticed that Cyrus IMAPd v2.1.11 appears to set the wrong response
|> status for mailboxes over the quotawarn value in imapd.conf
|
| Hmm, silence :) Did I ask a stupid question or touch upon an old debate?
| Or is this one of those things that could go either way and is open for
| interpretation?

The latest IMAP spec says this:

    The NO response indicates an operational error message from the server.

and this:

    The untagged form indicates a warning; the command can still complete
    successfully.

and includes an example of a '* NO' response followed by a tagged OK during 
a COPY command. The example was for a disk space (quota) warning. So 
clearly the IMAP spec does not forbid this type of behaviour - I suspect 
its a matter for implementations to decide what to do.

Note that there are no firm recommendations on how clients should handle '* 
OK' or '* NO' responses - but there are requirements on the response codes 
like [ALERT] (which must be shown to the user). So the overriding factor in 
this case is the [ALERT] code.

-- 
Cyrus Daboo




More information about the Info-cyrus mailing list