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

2016-05-13 Thread Kim Lilliestierna via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354056

--- Comment #38 from Kim Lilliestierna  ---
This has been resolved in the latest kmail version (5.1.3) and  kde framework
(5.18.0)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


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

2015-11-28 Thread Kim Lilliestierna via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354056

--- Comment #13 from Kim Lilliestierna  ---
Created attachment 95789
  --> https://bugs.kde.org/attachment.cgi?id=95789=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: A16 UID FETCH 1 (BODY.PEEK[] UID)
S: * 1 FETCH ( BODY[] Return-Path: 

 ... Mail content deleted for brevity

 UID 1 )
S: A16 OK FETCH completed.
C: A17 UID STORE 1 +FLAGS (\Seen)
S: * 1 FETCH ( UID 1 FLAGS (\Seen) )
S: A17 OK STORE completed.
C: A18 UID STORE 1 +FLAGS (\Deleted)
S: * 1 FETCH ( UID 1 FLAGS (\Seen \Deleted) )
S: A18 OK STORE completed.
C: A19 SELECT "INBOX.Trash"
S: * FLAGS ( \Draft \Answered \Flagged \Deleted \Seen \Recent )

Dovecot


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

... mail content deleted for brevity

 )
S: A05 OK Fetch completed.
C: A06 UID STORE 1 +FLAGS (\Seen)
S: * 1 FETCH ( UID 1 FLAGS (\Seen) )
S: A06 OK Store completed.
C: A07 EXPUNGE
S: A07 OK Expunge completed.
C: A08 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: A08 OK Select completed ( 0.000 secs ) . [ READ-WRITE  ]
C: A09 UID FETCH 1:2 (FLAGS UID) (CHANGEDSINCE 2)
S: * 1 FETCH ( UID 1 FLAGS (\Seen) MODSEQ (3) )
S: A09 OK Fetch completed.
C: A10 UID STORE 1 +FLAGS (\Deleted)
S: * 1 FETCH ( UID 1 MODSEQ (4) FLAGS (\Deleted \Seen) )
S: A10 OK Store completed.
C: A11 EXPUNGE
S: * 1 EXPUNGE
S: A11 OK Expunge completed.
C: A12 SELECT "INBOX" (CONDSTORE)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 316153] can't move or delete messages in imap inbox

2015-11-09 Thread Kim Lilliestierna via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=316153

--- Comment #31 from Kim Lilliestierna  ---
Mucked around a bit with this, I have access to 2 different imap servers on is
a Dovecot the other A Courier, it works ok on the Dovecot not  on the Courier,
After enabling debugging on the akonadi IMAP resource i see one very important
difference:
on the Dovecot case the EXPUNGE command is sent regularly, on the Courier it
does not. This explains the behavior: Deleting a message in IMAP only marks it
as \DELETED but it still exists and Kmail vill act upon it as if it where a
regular message, to really get rid of the message a EXPUNGE command need to be
sent to the IMAP server for the folder in question. Moving a file entails first
copying it and then deleting the original.
And since the original only gets marked and Kmail is a bit stupid there, any
auto scripts that you might be running goes nuts with the moving.
I asume that the above 1/2 solution with an alternate mail client works since
they probably send of the EXPUNGE and cleans out the crap :)
So why the different behavior on different servers?, im guessing some (not) so
smart decision is being made based on the servers capability report.

So, either add a "force EXPUNGE" command/button/menu entry/whatever and have
Kmail ignore mails with the \DELETED flag set, at the least when scripts are
running.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


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

2015-11-02 Thread Kim Lilliestierna via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354056

Kim Lilliestierna  changed:

   What|Removed |Added

 CC||k...@itr.no

--- Comment #8 from Kim Lilliestierna  ---
I can confirm the same on kubuntu Willy (15.10) kmai 5.0.2,
Moving or deleting a mail in a IMAP folder marks the original as deleted and
creates a copy in the destination folder, but the source folder does not seem
to be "expunged".

 this a real problem, it is no longer possible to run any filters, since moved
mails are no longer beeing purged from original folder, resulting in the
orignal folder growing, and the destination folder getting dublicates. 
Specially bad on accounts that get a large amount of spam.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 316153] can't move or delete messages in imap inbox

2015-11-01 Thread Kim Lilliestierna via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=316153

Kim Lilliestierna  changed:

   What|Removed |Added

 CC||k...@itr.no

--- Comment #27 from Kim Lilliestierna  ---
Bug confirmed on Kubuntu 15.10 as well, would humbly appreciate a patch for
this rather sooner than later, spam filtering is currently a paradox, since it
is constantly doubling the spam int the "Spam" folder :), so for now have to
turn of automatic filtering

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs