mailing list archives

meli community discussions

⚠️ if something does not work as intended when interracting with the mailing lists,
reach out Github mirror Gitea repo @epilys:matrix.org

E-mail headers
From: Tom Lewis <tom@slowar.com>
To: imap-protocol@u.washington.edu
Date: Fri, 08 Jun 2018 12:34:42 -0000
Message-ID: 03ef01c92890$4ee4a9e0$ecadfda0$@com permalink / raw / eml / mbox
Hi all. New to the list. I have looked at the RFC and can't seem to
interpret what I need out of the document, so I thought I would ask here.

 

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?

 

Thanks in advance!

 

Tom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20081007/9e338bb8/attachment.html>
Reply
E-mail headers
From: tss@iki.fi
To: imap-protocol@localhost
Date: Fri, 08 Jun 2018 12:34:42 -0000
Message-ID: 1223394203.27703.108.camel@hurina permalink / raw / eml / mbox
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?
Reply
E-mail headers
From: markrcrispin@live.com
To: imap-protocol@localhost
Date: Fri, 08 Jun 2018 12:34:42 -0000
Message-ID: BLU126-W339AF877C93F0253E05F57B8380@phx.gbl permalink / raw / eml / mbox
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/
Reply