Bug 3761 - drafts msgs are sometimes not deleted after a mail has been sent
Summary: drafts msgs are sometimes not deleted after a mail has been sent
Status: REOPENED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.14.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2017-01-17 11:54 UTC by johannes
Modified: 2017-01-21 19:06 UTC (History)
0 users

See Also:


Attachments
log (42.74 KB, text/plain)
2017-01-18 08:57 UTC, johannes
no flags Details

Description johannes 2017-01-17 11:54:42 UTC
Claws Mail frequently saves a draft of a new mail in the IMAP drafts folder while it is being created.

Once the mail has been sent, the draft remains in the draft folder and appears as unfinished in other clients although it can be considered finished when sent.

Claws Mail should delete a draft when the corresponding mail is sent.
Comment 1 Paul 2017-01-17 12:08:20 UTC
They are. Unless you use gmail and its 'irregular' version of imap.
Comment 2 johannes 2017-01-17 16:09:16 UTC
It's not gmail.
Comment 3 Paul 2017-01-17 16:19:39 UTC
You need to provide more information, because this WORKSFORME
Comment 4 johannes 2017-01-17 23:46:06 UTC
What do you need?

I have 3 accounts configured. It happens regularly with one of them -- which is not Gmail. When sending mail through Gmail, I have never experienced that bug so far. I rarely use the third one for sending, so I don't know if it would happen there too.
Comment 5 Paul 2017-01-18 00:00:21 UTC
The network log or --debug output is a good starting place.
Comment 6 Jonathan Corbet 2017-01-18 05:27:37 UTC
FWIW, I see this too, have for some time.  I've never had a chance to try to figure out what circumstances cause a draft to stay around.  Not gmail here either; it's a dovecot IMAP server.
Comment 7 johannes 2017-01-18 08:57:07 UTC
Created attachment 1711 [details]
log
Comment 8 johannes 2017-01-18 08:57:39 UTC
It just happened to happen again, so I could cut out the relevant parts from the log.

From line 405 to 441 the mail is being sent. In line 899 you can see that there is a mail in the drafts folder - the one I just sent.
Comment 9 daniel 2017-01-18 09:49:16 UTC
I've seen this behavior with dovecot mail server with pretty much default config. In my case during email composing several drafts showed in drafts folder and after send they remained there for minutes or hours before their deletion. Client was always TB. 
But I did not considered it to be too big issue to report it.
Comment 10 johannes 2017-01-21 19:06:10 UTC
I left one draft of a mail that I sent yesterday in the draft folder, but it didn't get deleted automatically as daniel said.

Note You need to log in before you can comment on or make changes to this bug.