Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gmail IMAP and moving articles to trash
@ 2008-01-18 18:17 Jose A. Ortega Ruiz
  2008-01-18 18:36 ` Gmail IMAP and moving articles to trash [solved] Jose A. Ortega Ruiz
  0 siblings, 1 reply; 6+ messages in thread
From: Jose A. Ortega Ruiz @ 2008-01-18 18:17 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]


hi,

i'm using gnus to access my gmail's IMAP account and have a little
problem. as you know, deleting an article is interpreted by gmail's
server as an 'archive' command; if you want to really delete it, you
have to move it to the trash. so that's what i do: i've got a key combo
bound to

(lambda () 
  (interactive) 
  (gnus-summary-move-article nil "nnimap+google:[Gmail]/Trash"))

which mostly works, except that, everytime i use it, quit the group, and
ask Gnus to check for new mail, the group where i did the move gets a
wrong unread article count (as in that gnus thinks that there're more
unread messages than there really are).

is anyone else seeing this behaviour or have a suggestion for a fix?

cheers,
jao
-- 
"When you come to a fork in the road, take it"
 -Yogi Berra, baseball coach.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gmail IMAP and moving articles to trash [solved]
  2008-01-18 18:17 Gmail IMAP and moving articles to trash Jose A. Ortega Ruiz
@ 2008-01-18 18:36 ` Jose A. Ortega Ruiz
  2008-01-18 22:27   ` Ted Zlatanov
  0 siblings, 1 reply; 6+ messages in thread
From: Jose A. Ortega Ruiz @ 2008-01-18 18:36 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1337 bytes --]


hi again... i just discovered the problem seems to be that i wasn't
subscribed to the trash group. subscribing to it seems to fix the issue.
but still, if you know of an alternative fix that does not involved
subscribe to trash, i'd be happy to hear of it! :)

thanks,
jao

"Jose A. Ortega Ruiz" <jao@gnu.org> writes:

> hi,
>
> i'm using gnus to access my gmail's IMAP account and have a little
> problem. as you know, deleting an article is interpreted by gmail's
> server as an 'archive' command; if you want to really delete it, you
> have to move it to the trash. so that's what i do: i've got a key combo
> bound to
>
> (lambda () 
>   (interactive) 
>   (gnus-summary-move-article nil "nnimap+google:[Gmail]/Trash"))
>
> which mostly works, except that, everytime i use it, quit the group, and
> ask Gnus to check for new mail, the group where i did the move gets a
> wrong unread article count (as in that gnus thinks that there're more
> unread messages than there really are).
>
> is anyone else seeing this behaviour or have a suggestion for a fix?
>
> cheers,
> jao
> -- 
> "When you come to a fork in the road, take it"
>  -Yogi Berra, baseball coach.

-- 
We confess our little faults to persuade people that we have no large ones.
 -Francois de La Rochefoucauld, writer (1613-1680)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gmail IMAP and moving articles to trash [solved]
  2008-01-18 18:36 ` Gmail IMAP and moving articles to trash [solved] Jose A. Ortega Ruiz
@ 2008-01-18 22:27   ` Ted Zlatanov
  2008-01-19  2:21     ` Marc Schwartz
  0 siblings, 1 reply; 6+ messages in thread
From: Ted Zlatanov @ 2008-01-18 22:27 UTC (permalink / raw)
  To: info-gnus-english

On Fri, 18 Jan 2008 19:36:30 +0100 "Jose A. Ortega Ruiz" <jao@gnu.org> wrote: 

jao> hi again... i just discovered the problem seems to be that i wasn't
jao> subscribed to the trash group. subscribing to it seems to fix the issue.
jao> but still, if you know of an alternative fix that does not involved
jao> subscribe to trash, i'd be happy to hear of it! :)

Sorry, I don't know of a way.

IMAP has a very specific way of dealing with article expiration and
deletion, so it's unfortunate that Google doesn't use it.

Ted

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gmail IMAP and moving articles to trash [solved]
  2008-01-18 22:27   ` Ted Zlatanov
@ 2008-01-19  2:21     ` Marc Schwartz
  2008-01-19  6:32       ` Jose A. Ortega Ruiz
  2008-01-22 20:34       ` Ted Zlatanov
  0 siblings, 2 replies; 6+ messages in thread
From: Marc Schwartz @ 2008-01-19  2:21 UTC (permalink / raw)
  To: info-gnus-english

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Fri, 18 Jan 2008 19:36:30 +0100 "Jose A. Ortega Ruiz" <jao@gnu.org> wrote: 
>
> jao> hi again... i just discovered the problem seems to be that i wasn't
> jao> subscribed to the trash group. subscribing to it seems to fix the issue.
> jao> but still, if you know of an alternative fix that does not involved
> jao> subscribe to trash, i'd be happy to hear of it! :)
>
> Sorry, I don't know of a way.
>
> IMAP has a very specific way of dealing with article expiration and
> deletion, so it's unfortunate that Google doesn't use it.
>
> Ted

One of the things that you need to be aware of with Google and IMAP is
that all of the actual "physical" e-mails are stored in the "All Mail"
folder.

Everything else is a 'tag', or essentially a virtual folder. Even the
Trash folder is a tag.

You may notice that when moving mail to Trash, it is still in All Mail,
though this may depend upon your specific config. You might want to
watch how the e-mails behave on the GMail web site as you act upon mails
in GNUS. Gmail recommends 'marking' e-mails as deleted, but not actually
deleting them from the server.

I use GNUS here for usenet, but not for e-mail.

I have been using Google's IMAP for a few weeks now, as I recently got a
Samsung Blackjack II phone and wanted to be able to get e-mail on my
phone and laptop without the POP related loss of synchronization.

Although there are some issues with Gmail IMAP and HTML e-mails not
displaying in the phone's client, it generally functions well. I have
the phone synching with my corporate e-mail server (Zimbra running on
RHEL) via IMAP as well and that works nicely.

I had been using Evolution for e-mail (on RH/Fedora) for a number of
years and made the transition to Thunderbird recently, as Evo's IMAP is
hopelessly broken.

There is a page here:

http://mail.google.com/support/bin/topic.py?topic=12913

that has config information and you can get a feel for how various
clients are set up. Even the config in Thunderbird needs to be just
right to get it to act properly and map functionality to Gmail's
structure.

HTH,

Marc Schwartz

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gmail IMAP and moving articles to trash [solved]
  2008-01-19  2:21     ` Marc Schwartz
@ 2008-01-19  6:32       ` Jose A. Ortega Ruiz
  2008-01-22 20:34       ` Ted Zlatanov
  1 sibling, 0 replies; 6+ messages in thread
From: Jose A. Ortega Ruiz @ 2008-01-19  6:32 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]


Thaks Ted and Marc for your help and detailed explanations. As I
mentiones Subscribing to the trash (and spam, for tagging mails as such)
group seems to have solved the issue: at the very least, it has not come
back after some hours using Gnus. So I'm happy with this. As I've got
little experience with Gnus IMAP interface, I just wanted to be sure
that I wasn't misconfiguring anything on the client side.

Thanks again for your help,
jao
-- 
"Light thinks it travels faster than anything but it is wrong. No matter
 how fast light travels it finds the darkness has always got there first,
 and is waiting for it."
  -Terry Pratchett, Reaper Man

[-- Attachment #1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gmail IMAP and moving articles to trash [solved]
  2008-01-19  2:21     ` Marc Schwartz
  2008-01-19  6:32       ` Jose A. Ortega Ruiz
@ 2008-01-22 20:34       ` Ted Zlatanov
  1 sibling, 0 replies; 6+ messages in thread
From: Ted Zlatanov @ 2008-01-22 20:34 UTC (permalink / raw)
  To: info-gnus-english

On Fri, 18 Jan 2008 20:21:15 -0600 Marc Schwartz <marc_schwartz@comcast.net> wrote: 

MS> One of the things that you need to be aware of with Google and IMAP is
MS> that all of the actual "physical" e-mails are stored in the "All Mail"
MS> folder.

MS> Everything else is a 'tag', or essentially a virtual folder. Even the
MS> Trash folder is a tag.

Interesting.  So expunging does nothing?  And there's one tag per
message?  I don't know if this is against the IMAP RFCs, but I would
guess it's unorthodox compared to the other IMAP implementations out
there.

GMail is a big player, so people who use its IMAP service should
probably contribute a working setup to the Gnus manual.

Ted

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-22 20:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18 18:17 Gmail IMAP and moving articles to trash Jose A. Ortega Ruiz
2008-01-18 18:36 ` Gmail IMAP and moving articles to trash [solved] Jose A. Ortega Ruiz
2008-01-18 22:27   ` Ted Zlatanov
2008-01-19  2:21     ` Marc Schwartz
2008-01-19  6:32       ` Jose A. Ortega Ruiz
2008-01-22 20:34       ` Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).