[Akonadi] [Bug 354056] Deleted emails stay, but greyed out

Kim Lilliestierna via KDE Bugzilla bugzilla_noreply at kde.org
Sat Nov 28 18:04:04 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=354056

--- Comment #13 from Kim Lilliestierna <kill at itr.no> ---
Created attachment 95789
  --> https://bugs.kde.org/attachment.cgi?id=95789&action=edit
Log of imap delete on Courier and Dovecot

The tar file contains separate sets of log files from two different delete
cases, one for a courier server , and the other for a dovecot server. the
settup was from a freshly added user, with a virgin Kmail config. System:
Kubuntu 15.10 (Wily) and Kmail 5.0.2 , Kde Frameworks 5.10.0, QT 5.4.2.

New email accounts on both servers, one mail in inbox, nothing else. Imap
accounts identically configured, ie, only change was on "General" tab for
server and login and on "Advanced" tab to enable tls ("Auto test")

Observe that the capability report from each are different:
Courier: 
OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready.
Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution
information

Dovecot:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
STARTTLS LOGINDISABLED] Cyclops ready

And that the way the akonadi imap client goes about deleting mail is also quite
different. but the greatest difference are the lack of EXPUNGE commands in the
Courier case: 

Courier delete:

C: A000016 UID FETCH 1 (BODY.PEEK[] UID)
S: * 1 FETCH ( BODY[] Return-Path: <kill at itr.no>

 ... Mail content deleted for brevity

 UID 1 )
S: A000016 OK FETCH completed.
C: A000017 UID STORE 1 +FLAGS (\Seen)
S: * 1 FETCH ( UID 1 FLAGS (\Seen) )
S: A000017 OK STORE completed.
C: A000018 UID STORE 1 +FLAGS (\Deleted)
S: * 1 FETCH ( UID 1 FLAGS (\Seen \Deleted) )
S: A000018 OK STORE completed.
C: A000019 SELECT "INBOX.Trash"
S: * FLAGS ( \Draft \Answered \Flagged \Deleted \Seen \Recent )
--------------------------------------------------------------------------------------------------------
Dovecot


C: A000005 UID FETCH 1 (BODY.PEEK[] UID)
S: * 1 FETCH ( UID 1 BODY[]

... mail content deleted for brevity

 )
S: A000005 OK Fetch completed.
C: A000006 UID STORE 1 +FLAGS (\Seen)
S: * 1 FETCH ( UID 1 FLAGS (\Seen) )
S: A000006 OK Store completed.
C: A000007 EXPUNGE
S: A000007 OK Expunge completed.
C: A000008 SELECT "INBOX" (CONDSTORE)
S: * OK Previous mailbox closed. [ CLOSED  ]
S: * FLAGS ( \Answered \Flagged \Deleted \Seen \Draft )
S: * OK Flags permitted. [ PERMANENTFLAGS ( \Answered \Flagged \Deleted \Seen
\Draft \* )  ]
S: * 1 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 1448727510  ]
S: * OK Predicted next UID [ UIDNEXT 2  ]
S: * OK Highest [ HIGHESTMODSEQ 3  ]
S: A000008 OK Select completed ( 0.000 secs ) . [ READ-WRITE  ]
C: A000009 UID FETCH 1:2 (FLAGS UID) (CHANGEDSINCE 2)
S: * 1 FETCH ( UID 1 FLAGS (\Seen) MODSEQ (3) )
S: A000009 OK Fetch completed.
C: A000010 UID STORE 1 +FLAGS (\Deleted)
S: * 1 FETCH ( UID 1 MODSEQ (4) FLAGS (\Deleted \Seen) )
S: A000010 OK Store completed.
C: A000011 EXPUNGE
S: * 1 EXPUNGE
S: A000011 OK Expunge completed.
C: A000012 SELECT "INBOX" (CONDSTORE)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list