Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K9 does not delete message from Server #2117

Closed
nanuit opened this issue Jan 22, 2017 · 6 comments
Closed

K9 does not delete message from Server #2117

nanuit opened this issue Jan 22, 2017 · 6 comments
Labels
status: needs information Needs more information to proceed type: bug Something is causing incorrect behavior or errors

Comments

@nanuit
Copy link

nanuit commented Jan 22, 2017

Expected behavior

deleting a message on K9 shoudld elete the message from the server as is configured in the accounts Fetching mail options

Actual behavior

messages are not deleted from the server but remain there. the local message is deleted
This occurs only with my google account

Environment

K-9 Mail version: 5.203

Android version: 6.0.1

Account type (IMAP, POP3, WebDAV/Exchange):
IMAP

@seguri
Copy link

seguri commented Feb 1, 2017

Expected
Deleting a message should move it to [Gmail]/Trash folder

Actual
K-9 created [Imap]/Trash folder and moved the message there.

Environment
K-9 Mail 5.203
Android 6.0

EDIT
I achieved the correct behaviour going in (Menu) > Settings > Account settings > Folders and setting Trash folder to [Gmail]/Trash.
I'll leave this here to help others.

@philipwhiuk
Copy link
Contributor

Probably caused by #752

@cketti
Copy link
Member

cketti commented Feb 6, 2017

@nanuit: Please record a debug log while trying to delete a message. https://github.com/k9mail/k-9/wiki/LoggingErrors

@cketti cketti added type: bug Something is causing incorrect behavior or errors status: needs information Needs more information to proceed labels Feb 6, 2017
@nanuit nanuit changed the title K9 dos not delete message from Server K9 does not delete message from Server Feb 6, 2017
@nanuit
Copy link
Author

nanuit commented Feb 6, 2017

k9-log.txt

This log should cover the deletion process

The error does only occur with one of my gmail accounts. The other (gmail and others) are working fine.
When i delete a mail in my desktop mail client it is deleted in the server also

@cketti
Copy link
Member

cketti commented Feb 6, 2017

The log ends right before K-9 Mail is attempting to move the message to the Trash folder. The important part is missing.

@nanuit
Copy link
Author

nanuit commented Feb 6, 2017

the command "adb logcat -d -v time k9:V '*:S' AndroidRuntime:E > k9-log.txt" is stop writing at this point and exits.

But i found the problem: the trash Folder (also the other Spam, ...) was set to Trash and there is no corresponding Label in my google account. I set it to [Google Mail]\Bin and now it works
Maybe it has to do with the fact, the this is a google apps account and not a gmail
In my Gmail Account there is the [Gmail]\Bin Folder set as Trash and there was no problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs information Needs more information to proceed type: bug Something is causing incorrect behavior or errors
Projects
None yet
Development

No branches or pull requests

4 participants