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

nnimap can not get Sent Mail in Gmail

3 views
Skip to first unread message

Plato Wu

unread,
Nov 30, 2009, 1:26:25 AM11/30/09
to
I have configured Gnus to access Gmail by IMAP, It can get INBOX and
other labels which are created by me. The important Sent Mail label
can not be showed.

If I label Sent Mail with my created Label, it is OK. I suspect it
is because Sent Mail contains space, but I tried label with space, It
works well too.

I don't know why, please help me, thank you in advance.

Ted Zlatanov

unread,
Dec 1, 2009, 3:26:26 PM12/1/09
to
On Mon, 30 Nov 2009 14:26:25 +0800 Plato Wu <gtal...@gmail.com> wrote:

PW> I have configured Gnus to access Gmail by IMAP, It can get INBOX and
PW> other labels which are created by me. The important Sent Mail label
PW> can not be showed.

PW> If I label Sent Mail with my created Label, it is OK. I suspect it
PW> is because Sent Mail contains space, but I tried label with space, It
PW> works well too.

PW> I don't know why, please help me, thank you in advance.

Does the same setup work with another IMAP client, e.g. Thunderbird?

Ted

Plato Wu

unread,
Dec 2, 2009, 10:10:40 PM12/2/09
to
Ted Zlatanov <t...@lifelogs.com> writes:

I have tried Thunderbird, it works well and its IMAP folder location
like this: imap://gtalk000%40gma...@imap.gmail.com/%5BGmail%5D
imap://gtalk000%40gma...@imap.gmail.com/%5BGmail%5D/All%20Mail

my .gnus.el is:


(setq gnus-secondary-select-methods
'((nntp "news.cn99.com")
(nntp "news.newsfan.net")
(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl))))

(setq message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
smtpmail-local-domain nil)

authentication credentials is stored in ~/.authinfo

Thank you very much!

Plato Wu

Ted Zlatanov

unread,
Dec 3, 2009, 12:59:53 PM12/3/09
to
On Thu, 03 Dec 2009 11:10:40 +0800 Plato Wu <gtal...@gmail.com> wrote:

PW> Ted Zlatanov <t...@lifelogs.com> writes:
>> On Mon, 30 Nov 2009 14:26:25 +0800 Plato Wu <gtal...@gmail.com> wrote:
>>
PW> I have configured Gnus to access Gmail by IMAP, It can get INBOX and
PW> other labels which are created by me. The important Sent Mail label
PW> can not be showed.
>>
PW> If I label Sent Mail with my created Label, it is OK. I suspect it
PW> is because Sent Mail contains space, but I tried label with space, It
PW> works well too.
>>

>> Does the same setup work with another IMAP client, e.g. Thunderbird?
>>

PW> I have tried Thunderbird, it works well and its IMAP folder location
PW> like this: imap://gtalk000%40gma...@imap.gmail.com/%5BGmail%5D
PW> imap://gtalk000%40gma...@imap.gmail.com/%5BGmail%5D/All%20Mail

Your setup looks OK. I don't use GMail so maybe someone else can help
you with this. I would at least try `^' to get the server buffer, then
RET on the GMail IMAP server entry to see all the groups in it. Maybe
"Sent Mail" is different in some way, I don't know.

Ted

Emilio Jesús Gallego Arias

unread,
Dec 3, 2009, 10:29:10 PM12/3/09
to info-gnu...@gnu.org
Plato Wu <gtal...@gmail.com> writes:

> Ted Zlatanov <t...@lifelogs.com> writes:
>
>> On Mon, 30 Nov 2009 14:26:25 +0800 Plato Wu <gtal...@gmail.com> wrote:
>>
>> PW> I have configured Gnus to access Gmail by IMAP, It can get INBOX and
>> PW> other labels which are created by me. The important Sent Mail label
>> PW> can not be showed.
>>

>> PW> I don't know why, please help me, thank you in advance.

Could be a case of gnus-ignored-newsgroups?

,----[ C-h v gnus-ignored-newsgroups RET ]
| gnus-ignored-newsgroups is a variable defined in `gnus-start.el'.
| Its value is
| "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"][]\"['()]"
|
| Documentation:
| *A regexp to match uninteresting newsgroups in the active file.
| Any lines in the active file matching this regular expression are
| removed from the newsgroup list before anything else is done to it,
| thus making them effectively non-existent.
|
| You can customize this variable.
|
| [back]
`----

Plato Wu

unread,
Dec 4, 2009, 4:28:48 AM12/4/09
to

Definitely! Thank you very much!

they all have a "[Gmail]" prefix which is matched with gnus-ignored-newsgroups.

Ted Zlatanov

unread,
Dec 4, 2009, 1:37:49 PM12/4/09
to
On Fri, 04 Dec 2009 17:28:48 +0800 Plato Wu <gtal...@gmail.com> wrote:

PW> egal...@babel.ls.fi.upm.es (Emilio Jes�s Gallego Arias) writes:
>> Plato Wu <gtal...@gmail.com> writes:
>>
>>> Ted Zlatanov <t...@lifelogs.com> writes:
>>>
>>>> On Mon, 30 Nov 2009 14:26:25 +0800 Plato Wu <gtal...@gmail.com> wrote:
>>>>
PW> I have configured Gnus to access Gmail by IMAP, It can get INBOX and
PW> other labels which are created by me. The important Sent Mail label
PW> can not be showed.
>>>>
PW> I don't know why, please help me, thank you in advance.
>>
>> Could be a case of gnus-ignored-newsgroups?
>>
>> ,----[ C-h v gnus-ignored-newsgroups RET ]
>> | gnus-ignored-newsgroups is a variable defined in `gnus-start.el'.
>> | Its value is
>> | "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"][]\"['()]"
>> |
>> | Documentation:
>> | *A regexp to match uninteresting newsgroups in the active file.
>> | Any lines in the active file matching this regular expression are
>> | removed from the newsgroup list before anything else is done to it,
>> | thus making them effectively non-existent.
>> |
>> | You can customize this variable.
>> |
>> | [back]
>> `----

PW> Definitely! Thank you very much!

PW> they all have a "[Gmail]" prefix which is matched with gnus-ignored-newsgroups.

http://www.emacswiki.org/emacs/GnusGmail says it but it's easy to miss
it. Could you update with your setup and experience?

Thanks
Ted

Emilio Jesús Gallego Arias

unread,
Dec 4, 2009, 10:34:23 PM12/4/09
to info-gnu...@gnu.org
Ted Zlatanov <t...@lifelogs.com> writes:

> http://www.emacswiki.org/emacs/GnusGmail says it but it's easy to miss
> it. Could you update with your setup and experience?

Why not update the default value of gnus-ignored-newsgroups? [To nil]

I got almost crazy trying to figure out why my GNUS didn't display IMAP
folders like #mbox.archive, etc...

AFAICS, there's no server nowadays which requires this. Has anyone got
an example of a server where this setting is useful?

Regards,
Emilio

Plato Wu

unread,
Dec 5, 2009, 1:31:11 AM12/5/09
to
Ted Zlatanov <t...@lifelogs.com> writes:

> On Fri, 04 Dec 2009 17:28:48 +0800 Plato Wu <gtal...@gmail.com> wrote:
>

I have update the document and remove the confusing words: I have read
it and only try to do with gnus-invalid-group-regexp, :(

Is it OK?

Ted Zlatanov

unread,
Dec 7, 2009, 10:49:51 AM12/7/09
to
On Sat, 05 Dec 2009 04:34:23 +0100 egal...@babel.ls.fi.upm.es (Emilio Jes�s Gallego Arias) wrote:

EJGA> Ted Zlatanov <t...@lifelogs.com> writes:
>> http://www.emacswiki.org/emacs/GnusGmail says it but it's easy to miss
>> it. Could you update with your setup and experience?

EJGA> Why not update the default value of gnus-ignored-newsgroups? [To nil]

EJGA> I got almost crazy trying to figure out why my GNUS didn't display IMAP
EJGA> folders like #mbox.archive, etc...

EJGA> AFAICS, there's no server nowadays which requires this. Has anyone got
EJGA> an example of a server where this setting is useful?

I think for NNTP it's relevant, but probably not for IMAP (although in
IMAP there are forbidden characters as well, according to the RFC)..

Ted

galen...@yahoo.com

unread,
Dec 26, 2009, 2:53:06 AM12/26/09
to
Ted Zlatanov <t...@lifelogs.com> writes:

The setting from the wiki page for gnus-ignored-newsgroups exposed the
[Gmail] prefixed folders, such as sent mail.

The wiki page worked for all my needs of accessing my gmail server
account, well, I'll see about starttls in the gnutls. Still downloading
the executable for windows.

--
Galen Boyer

--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

Ted Zlatanov

unread,
Jan 5, 2010, 1:59:31 PM1/5/10
to
On Sat, 26 Dec 2009 02:53:06 -0500 galen...@yahoo.com wrote:

gb> The setting from the wiki page for gnus-ignored-newsgroups exposed the
gb> [Gmail] prefixed folders, such as sent mail.

gb> The wiki page worked for all my needs of accessing my gmail server
gb> account, well, I'll see about starttls in the gnutls. Still downloading
gb> the executable for windows.

Excellent. I plan to eventually write an assistant for setting up GMail
which will incorporate this fix to gnus-ignored-newsgroups, so your
comments were helpful.

Ted

0 new messages