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

trashing mail does not move it to trash #1018

Closed
jabranham opened this issue Jan 31, 2017 · 3 comments
Closed

trashing mail does not move it to trash #1018

jabranham opened this issue Jan 31, 2017 · 3 comments

Comments

@jabranham
Copy link
Contributor

Expected or desired behavior

Marking mail for trash (then executing the mark) should move the message to mu4e-trash-folder

Actual behavior

It doesn't, and I have no idea where it goes. I think it gets deleted from both the server and locally.

I have three accounts set up. Two are gmail - one "normal" gmail and the other a google apps for work. For those, I just delete emails since they're backed up to the "All Mail" folder anyway.

For the exchange account, I am trying to move folders to the trash, but this doesn't seem to work - it just deletes the email.

Versions of mu, mu4e/emacs, operating system etc.

I'm using the most recent versions of Emacs and mu4e - 25.1.1 and 0.9.18 respectively. I'm using Arch Linux. I'm using mbsync (isync) to sync mail back and forth. The account in question is a MS exchange account, so I'm using davmail to be able to sync like it's an imap account.

@jabranham
Copy link
Contributor Author

OK, I think I've figured out the problem. mu4e does move the message to trash (I had the mbsync interval so short I didn't catch it before). However, it also places a "trashed" flag on the message. When that's synced with the server, the message gets deleted.

Is there a way to move the message to trash but not put the trash flag on the message?

@djcb
Copy link
Owner

djcb commented Feb 5, 2017

Simply move the message to trash should do the trick.And/or lobby the mbsync people to follow the Maildir flag semantics, ie. "Flag "T" (trashed): the user has moved this message to the trash; the trash will be emptied by a later user action. " (https://cr.yp.to/proto/maildir.html)

@djcb djcb closed this as completed Feb 5, 2017
@averter
Copy link

averter commented Aug 9, 2019

@jabranham Can you please share your mbsyncrc file? I am trying to get mbsync and davmail to work together without success. Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants