Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gmail IMAP - shortcut to permanently delete message

2,404 views
Skip to first unread message

Michael A. Puls II

unread,
May 15, 2012, 10:55:23 PM5/15/12
to support-t...@lists.mozilla.org
Win7 x64 + Thunderbird x64 (Daily 15.0.a1 (2012-05-15)

mail.imap.expunge_after_delete = true (so dragging from one folder to
another to move the message doesn't leave the copy marked as \Deleted in
the source folder behind)

server: imap.gmail.com
"When I deleted a message" is set to "move to this folder" "[Gmail]/Trash"

With Gmail IMAP, to permanently delete a message, it needs to be "moved"
(copied and original marked as \Deleted and expunged) to "[Gmail]/Trash"
and once it's there, marked as \Deleted and expunged. Opera's built-in
mail client does this with shift + del and it works nice.

Is there a way I can do that with a keyboard shortcut in Thunderbird?

I tried with shift + del. But, all that does is mark a message as
\Deleted and expunge it. That makes sense for a regular IMAP account,
but that just means "archive" for Gmail IMAP.

Currently, to permanently delete in Thunderbird, I'm pressing DEL to
move to "[Gmail]/Trash" and then emptying the trash (or deleting that
specific message in the trash).

--
Michael

Rick

unread,
May 15, 2012, 11:08:51 PM5/15/12
to
All email is imap from gmail and it is deleted when it is deleted from
the trash folder I know of no way to create a short cut to delete messages.

Rick

unread,
May 16, 2012, 10:23:18 AM5/16/12
to
I meant to say all my email is from gmail

Michael A. Puls II

unread,
May 16, 2012, 10:58:15 PM5/16/12
to support-t...@lists.mozilla.org
Thanks. Bummer.

--
Michael


Ron Hunter

unread,
May 18, 2012, 4:54:07 PM5/18/12
to
Closest you can get is to highlight the message header and shift-delete.
That is supposed to bypass trash, but I am not sure how gmail would
see it.


Dave Warren

unread,
May 18, 2012, 7:10:25 PM5/18/12
to
In the last episode of
<mailman.28.1337136926.2...@lists.mozilla.org>,
"Michael A. Puls II" <shado...@gmail.com> said:

>Currently, to permanently delete in Thunderbird, I'm pressing DEL to
>move to "[Gmail]/Trash" and then emptying the trash (or deleting that
>specific message in the trash).

Have you tried Gmail's "When a message is marked as deleted and expunged
from the last visible IMAP folder" option?

If you set this option to "Immediately delete the message forever", you
could then Shift-Delete to delete messages entirely, or copy messages
into the Trash folder (which is likely what your "Delete" button is
doing)

However, be aware that this action can only be done from the All Mail
folder. Deleting from other folders will simply remove the appropriate
folder.

Dave Warren

unread,
May 18, 2012, 7:10:25 PM5/18/12
to
In the last episode of <2-KdnWUkEcZyKyvS...@mozilla.org>,
Ron Hunter <rphu...@charter.net> said:

>Closest you can get is to highlight the message header and shift-delete.
> That is supposed to bypass trash, but I am not sure how gmail would
>see it.

Gmail will see it as a "Delete" (rather than a copy-to-Trash, then
delete) and will treat it as a "Remove from this label", eventually
adding the Trash folder's label if it's removed from all current views.

Michael A. Puls II

unread,
May 20, 2012, 1:13:46 AM5/20/12
to support-t...@lists.mozilla.org
I'm aware of that option and how it works (stuff from the Advanced IMAP
Controls Gmail labs extension that was integrated into Gmail to make
Gmail IMAP act more like a normal IMAP server). However, I prefer to use
the default options and still have shift + del move to "[Gmail]/Trash"
(and then mark as \Deleted and expunge) like Opera does.

Much appreciated though. Thanks.

--
Michael


Dave Warren

unread,
May 20, 2012, 2:02:40 AM5/20/12
to
In the last episode of
<mailman.527.1337490826.2...@lists.mozilla.org>,
"Michael A. Puls II" <shado...@gmail.com> said:

>On 5/18/2012 7:10 PM, Dave Warren wrote:
>> In the last episode of
>> <mailman.28.1337136926.2...@lists.mozilla.org>,
>> "Michael A. Puls II" <shado...@gmail.com> said:
>>
>>> Currently, to permanently delete in Thunderbird, I'm pressing DEL to
>>> move to "[Gmail]/Trash" and then emptying the trash (or deleting that
>>> specific message in the trash).
>>
>> Have you tried Gmail's "When a message is marked as deleted and expunged
>> from the last visible IMAP folder" option?
>>
>> If you set this option to "Immediately delete the message forever", you
>> could then Shift-Delete to delete messages entirely, or copy messages
>> into the Trash folder (which is likely what your "Delete" button is
>> doing)
>>
>> However, be aware that this action can only be done from the All Mail
>> folder. Deleting from other folders will simply remove the appropriate
>> folder.
>
>I'm aware of that option and how it works (stuff from the Advanced IMAP
>Controls Gmail labs extension that was integrated into Gmail to make
>Gmail IMAP act more like a normal IMAP server). However, I prefer to use
>the default options and still have shift + del move to "[Gmail]/Trash"
>(and then mark as \Deleted and expunge) like Opera does.

And that's fair, except that's kinda like saying "How do I open this
door without opening the lock first?"

"Marking as \Deleted and Expunge" is not what Opera does, on Gmail that
simply removes a message from a particular label, or in the case of the
All Mail folder, it actually adds the "Trash" label (which hides the
message from all other labels/folders)

Opera has coded around Gmail's implementation and it first copies to
Trash, then adds a \Deleted to the message in Trash. (Expunge isn't
needed, Gmail does it automatically)

Thunderbird's Shift+Delete will add a \Deleted and then expunge, but in
order for that to do what you want, you need to configure the above
described IMAP options in Gmail, otherwise Gmail will override your
preference and assume that you want to use it's "Trash" folder.

Michael A. Puls II

unread,
May 20, 2012, 4:26:23 AM5/20/12
to support-t...@lists.mozilla.org
I was referring to the message in "[Gmail]/Trash" (the one that is
copied to there).

> Opera has coded around Gmail's implementation and it first copies to
> Trash, then adds a \Deleted to the message in Trash.

Yes. I know what Opera is doing and that's what I'm looking to do in
Thunderbird. But, Opera does indeed expunge. After it copies the message
to "[Gmail]/Trash", it marks the message in "[Gmail]/Trash" as \Deleted
and then UID expunges it.

> (Expunge isn't
> needed, Gmail does it automatically)

Correct, in label folders. But, in "[Gmail]/Trash", expunge is needed if
you want to totally get rid of the message. You can mark messages in
"[Gmail]/Trash" as \Deleted, leave them like that and then later remove
the \Deleted flag from them and they'll show back up there. I've
confirmed this with logs many times.

> Thunderbird's Shift+Delete will add a \Deleted and then expunge, but in
> order for that to do what you want, you need to configure the above
> described IMAP options in Gmail, otherwise Gmail will override your
> preference and assume that you want to use it's "Trash" folder.

Understood. But, I'm specifically looking for the same Gmail workaround
Opera does. I've already been told Thunderbird doesn't support it, so
I'm good to go, but thanks.

--
Michael


0 new messages