Gmail IMAP - Evolution - DELETE moves to TRASH

Asked by nomnex

It's a very simple one.

I come from Thunderbrid on M$. The final release (v2 over) finally implemented (actually an add-on did) the expected feature much requested : Delete moves the messages to the Trash folder. So users did not have to edit the config file. From TB v3 this feature exists out of the box.

How do I achieve the same result with Evolution?

I don't want to Drag/copy the message in the Trash, etc. I just expect to have the messages I delete immediately moved to the Gmail trash folder.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu evolution Edit question
Assignee:
No assignee Edit question
Solved by:
nomnex
Solved:
Last query:
Last reply:
Revision history for this message
nomnex (nomnex) said :
#1

Alright, it's a bit convoluted

Gmail settings > IMAP Access

Auto-Expunge
- Do not automatically expunge messages

When a message is expunged from the last visible IMAP folder:
- Move the message to the Trash

In EVOLUTION:

When I delete a message:
1. the message is crossed (still visible)
2. copy of the crossed message is located in the LOCAL TRASH

When I expunge a folder:
1. if I expunge the folder where the crossed message resides, the LOCAL TRASH empties and the message appears in the GMAIL TRASH - BUT THIS IS RANDOM! e.g. If I delete a message and expunge the folder immediately after, it does not work. the message is removed but the Gmail trash is empty... so you have to move a few folders and come back, etc. it is not straight forward.

When I expunge the trash:
The message is gone, but the Gmail Trash folder is empty... oh-oh!

So here is the question:
simple, intuitive, plain: How to delete a message (to have it disappear from view) and to have it in the Gmail Trash folder. no much, no less.

If this is not possible, what's the link to ask feature request or discuss Evolution functions?

Many thanks

Revision history for this message
Jeruvy (jeruvy) said :
#2

In your options you can simply tell it to DELETE ON EXIT, or DELETE immediately.

Gmail is a bit of an enigma as you cannot truly delete anything from Gmail, yet you can 'delete' it, and it appears in the Gmail trash, and then empty it (Google does this after 30 days), but it's truly never gone.

Your local trash however is emptied either by settings, or by right clicking on trash and selecting empty trash. However this will simply move the GMAIL ITEM into the GMAIL TRASH only when your preferences tell it to (immediately or on exit).

Since Evolution is simply 'flagging' the email as trash (as you indicate by the line striking it out) your settings indicate that it will ONLY REMOVE the item upon exit of the program. This is a good safety measure in case you delete a mail by mistake. Again, you simply change your preferences to delete them immediately.

Good luck.

Revision history for this message
nomnex (nomnex) said :
#3

Hi, thanks for your answer and explanation:

> In your options you can simply tell it to DELETE ON EXIT, or DELETE immediately.

R u talking about Gmail account settings or Evolution?

> Your local trash however is emptied either by settings, or by right clicking on trash and selecting empty trash. However this will simply move the GMAIL ITEM into the GMAIL TRASH only when your preferences tell it to (immediately or on exit).

I see DELETE on exit, but I don't see DELETE immediately in Evolution (that's only a setting I see in Gmail). If I set delete immediately on Gmail and delete a message in Evolution, it does not go to the Local trash or the Gmail trash.

Is there a setting in Evolution to Delete a message (remove it from view) and move it automatically into the Gmail trash folder?

Revision history for this message
Jeruvy (jeruvy) said :
#4

Like I stated earlier, Gmail doesn't really delete anything, besides there is NO settings for Gmail as I mentioned.

I don't support Gmail, so I don't talk about it except in 'comparision', as noted above.

Delete immediately means just that in evolution. Evolution also will trash (if your settings are so) gmails 'locally' which means a redundant trash copy now exists on your computer in your .evolution trash folder AND in Gmail Trash. (Gmail just trashes everything marked delete).

Hope that clears it up for you.

Revision history for this message
nomnex (nomnex) said :
#5

It does, thanks

Revision history for this message
Alex (alexhendler) said :
#6

I know this is a very old thread, but here's what finally worked for me (I'm pretty new to Evolution) to semi-automatically move deleted messages to the [GMail]/Trash folder - it's a two-step process, but does not involve dragging the message to the trash:

Enable advanced IMAP controls in GMail, and select which "folders" you want to be visible. I would highly recommend disabling "All Mail".

Disable "auto expunge" - (This, in my opinion is quite evil, because when you delete something in IMAP with this "feature" enabled, it does not delete the 4 MB scanned image of a 1-page newspaper article that your older relatives tend to email to you even though the article is available online, it "archives" it, which essentially hides it from you: You can't search for "archived" messages, so you just have to guess at what is taking up all that space).

For "When a message is expunged from the last visible IMAP folder:" select "Move the message to the trash". If you use any labels or filters in GMail, note that you may have to delete things from multiple folders as viewed in Evolution for them to finally actually disappear.

With these settings, if you hit the delete key on a selected message (assuming it is the last folder in which it appears that is visible from your IMAP client), it gets marked as deleted, but does not get moved anywhere (at least not as far as I can tell).

Then you "expunge" locally (Ctrl+E), and it moves the messages from the folder to [Gmail]/Trash, as it should, but again, only if you have deleted from the last place it appears in a folder that you have selected as visible in IMAP from your GMail settings. If you have multiple labels that can get assigned to a single message, you have to delete the message everywhere--in this case, it may be better to just drag it to the [GMail]/Trash folder....

I hope this helps save someone else from immense frustration--I still have to figure out how to pinpoint those useless emails that I thought I had deleted so long ago, but which GMail so helpfully "archived" for me (I was using Apple Mail before this....)

Revision history for this message
nomnex (nomnex) said :
#7

you get it almost right. this should figure on a forum (the IMAP Gmail forum) Well, forgive me for giving some feedback.

I use mutt & sylpheed as mail clients, evolution no more, but the IMAP setting for the latter applies to evolution as well.

to do things in one time (and keep a safety net in the background), check the 2 print-screens with Gmail IMAP settings.

http://img87.imageshack.us/img87/6346/selection20101215082606.png
http://img219.imageshack.us/img219/5533/selection20101215082806.png

Remember that your email client merely marks email for deletion. And the Evo trash dir. is no merely a filter to display all your msg marked for deletion in one location.

A. Select hide msg. marked for deletion in evolution => when you will mark a msg for deletion (Del), it will be hidden from view in its respective directory. The Evo trash will display it however.

B. Now, say you want to empty the trash, just expunge the Evo trash directory(ies). All the messages will be sent to the Gmail trash this time. Because you have opted out this directory in your IMAP filter setting, you won't see the Gmail trash directory in the Evo dir tree.

What's the catch? Gmail auto deletes msg. in the trash after 30 days. this is your safety net. If needed you could still logg-in and get back your msg. If you don't need these msg., let Gmail do its work. Why bordering with extra chores sending the msg from the Evo trash to the Gmail trash, and then expunging the msg?

With the setting above, from the perspective of your email client, it looks like there is one single trash, and you should be a happy Gmail IMAP user on Evolution :)