MBOX-Line: From markrcrispin at live.com  Tue Oct  7 08:52:52 2008
To: imap-protocol@u.washington.edu
From: Mark Crispin <markrcrispin@live.com>
Date: Fri Jun  8 12:34:42 2018
Subject: [Imap-protocol] IMAP APPEND Flag Question
In-Reply-To: <1223394203.27703.108.camel@hurina>
References: <03ef01c92890$4ee4a9e0$ecadfda0$@com>
	<1223394203.27703.108.camel@hurina>
Message-ID: <BLU126-W339AF877C93F0253E05F57B8380@phx.gbl>


Timo certainly describes a correct behavior, and probably the most strictly correct behavior.

In my opinion, a more useful behavior is to issue an untagged NO identifying the unknown flags as a warning, but otherwise append the message and just ignore those flags.

RFC 3501 says that keywords are created "by attempting to store those flags in the mailbox".  This is somewhat ambiguous due to the use of lowercase "store", but I interpret this as meaning that only a STORE or UID STORE command can create keywords, and a COPY or APPEND command can not.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

----------------------------------------
> Subject: Re: [Imap-protocol] IMAP APPEND Flag Question
> From: tss@iki.fi
> To: tom@slowar.com
> Date: Tue, 7 Oct 2008 18:43:23 +0300
> CC: imap-protocol@u.washington.edu
> 
> On Tue, 2008-10-07 at 11:21 -0400, Tom Lewis wrote:
> 
>> In the APPEND command, it accepts a parenthesized list of flags, which
>> can include custom flags. My question is, what should the server
>> response be if the APPEND command includes custom flags, but the
>> server does not have the ability to store these flags?
> 
> From the RFC:
> 
> 6.3.11. APPEND Command
> 
>                NO - append error: can't append to that mailbox, error
>                     in flags or date/time or message text
> 
> So reply something like "NO Can't store keywords".
> 

_________________________________________________________________
See how Windows Mobile brings your life together?at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
