twisted / twisted/twisted

IMAP4Server: Add support for PERMANENTFLAGS response from SELECT and EXAMINE

Open
#3,951 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement mail new priority-normal
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

biny's avatar biny reported
Trac ID trac#3951
Type enhancement
Created 2009-08-02 05:39:37Z

SELECT: http://tools.ietf.org/html/rfc3501#section-6.3.1
EXAMINE: http://tools.ietf.org/html/rfc3501#section-6.3.2

http://tools.ietf.org/html/rfc3501#section-7.1

  PERMANENTFLAGS

     Followed by a parenthesized list of flags, indicates which of
     the known flags the client can change permanently.  Any flags
     that are in the FLAGS untagged response, but not the
     PERMANENTFLAGS list, can not be set permanently.  If the client
     attempts to STORE a flag that is not in the PERMANENTFLAGS
     list, the server will either ignore the change or store the
     state change for the remainder of the current session only.
     The PERMANENTFLAGS list can also include the special flag \*,
     which indicates that it is possible to create new keywords by
     attempting to store those flags in the mailbox.
Searchable metadata
trac-id__3951 3951
type__enhancement enhancement
reporter__biny biny
priority__normal normal
milestone__ 
branch__ 
branch_author__ 
status__new new
resolution__None None
component__mail mail
keywords__ 
time__1249191577000000 1249191577000000
changetime__1249358095000000 1249358095000000
version__None None
owner__ 
cc__exarkun

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the RFC 3501 sections linked in the issue, especially the SELECT and EXAMINE responses and the PERMANENTFLAGS definition. Trace the IMAP4Server entry points for SELECT and EXAMINE, then add the response describing which flags can be changed permanently. Done means both commands emit a correct PERMANENTFLAGS response consistent with the mailbox flags.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.