Ticket #1414 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

controlling IMAP header capabilities

Reported by: tziade Owned by: tziade
Priority: P1 Milestone: CPS 3.4.0
Component: CPSMailAccess Version: TRUNK
Severity: normal Keywords:
Cc: tiksin@…

Description

Before fetching mails, CPSMailAccess should control which headers are available on the imap server

* OK monserveveur.fr Cyrus IMAP4 v2.2.5 server ready 
MDG0 CAPABILITY 
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=NTLM AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR 
MDG0 OK Completed 
MDG1 LOGIN monlogin "monmotde passe " 
MDG1 OK User logged in 
MDG2 SELECT INBOX 
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen) 
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]   
* 2 EXISTS 
* 0 RECENT 
* OK [UNSEEN 1]   
* OK [UIDVALIDITY 1088690054]   
* OK [UIDNEXT 7139]   
MDG2 OK [READ-WRITE] Completed 
MDG3 UID SEARCH ALL 
* SEARCH 7137 7138 
MDG3 OK Completed (2 msgs in 0.000 secs) 
MDG4 UID FETCH 7137,7138 (FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS(From To Cc BCc Subject Date Message-ID In-Reply-To Content-Type References Disposition-Notification-To)]) 
MDG4 BAD Missing required argument to UID Fetch BODY.PEEK[HEADER.FIELDS 

Change History

comment:1 Changed 14 years ago by tziade

  • Cc tiksin@… added
  • Status changed from new to closed
  • Resolution set to fixed

This was a bad syntax in the query in fact.

according to RFC this part:

HEADER.FIELDS(From To Cc BCc etc..)

should have been:

HEADER.FIELDS (From To Cc BCc etc..)

Many thanks to Tiksin,

fixed in [33718]

comment:2 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.4.1 to CPS 3.4.0
Note: See TracTickets for help on using tickets.