Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Ship it.


computers / comp.mail.pine / Re: reading the "All Mail" folder on Gmail over IMAP

SubjectAuthor
* reading the "All Mail" folder on Gmail over IMAPnicholas
+* Re: reading the "All Mail" folder on Gmail over IMAPAdam H. Kerman
|+- Re: reading the "All Mail" folder on Gmail over IMAPCarlos E.R.
|`* Re: reading the "All Mail" folder on Gmail over IMAPnick
| `- Re: reading the "All Mail" folder on Gmail over IMAPAdam H. Kerman
`* Re: reading the "All Mail" folder on Gmail over IMAPBrandon Jewett-Hall
 `- Re: reading the "All Mail" folder on Gmail over IMAPnicholas

1
reading the "All Mail" folder on Gmail over IMAP

<ulv9mr$la11$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=641&group=comp.mail.pine#641

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saunders...@gmail.com (nicholas)
Newsgroups: comp.mail.pine
Subject: reading the "All Mail" folder on Gmail over IMAP
Date: Wed, 20 Dec 2023 17:53:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ulv9mr$la11$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 20 Dec 2023 17:53:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c6c5970da54e2a8765cf17a056427182";
logging-data="698401"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RyLEBy9TCDatGOlHp+JjjZ2/EP90/75w="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:7om4tK8KwVO3rbBS46zDxUgts/8=
 by: nicholas - Wed, 20 Dec 2023 17:53 UTC

I'm reading and writing gmail fine, and can see all folders...except for
one:

nicholas@mordor:~$
nicholas@mordor:~$ grep gmail .pinerc.gmail
user-domain=gmail.com
smtp-server=smtp.gmail.com:587/tls/user=saunders.nicholas@gmail.com
inbox-path={imap.gmail.com:993/ssl/novalidate-cert/
user=saunders.nicholas@gmail.com}INBOX
incoming-folders=saunders.nicholas@gmail.com {imap.gmail.com:993/
novalidate-cert/ssl/user=saunders.nicholas@gmail.com}
folder-collections="saunders.nicholas@gmail.com" {imap.gmail.com:993/ssl/
user=saunders.nicholas@gmail.com}[],
patterns-roles=LIT:pattern="/NICK=gmail/FLDTYPE=ANY" action="/ROLE=1/
FROM=saunders.nicholas@gmail.com/RTYPE=NC/FTYPE=NC/CTYPE=NC"
nicholas@mordor:~$

How can I get the "All Mail" folder listed?

thanks,

Nick

Re: reading the "All Mail" folder on Gmail over IMAP

<ulveo2$m8oa$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=643&group=comp.mail.pine#643

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ahk...@chinet.com (Adam H. Kerman)
Newsgroups: comp.mail.pine
Subject: Re: reading the "All Mail" folder on Gmail over IMAP
Date: Wed, 20 Dec 2023 19:19:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <ulveo2$m8oa$1@dont-email.me>
References: <ulv9mr$la11$1@dont-email.me>
Injection-Date: Wed, 20 Dec 2023 19:19:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ff5c399161ba1d597ae404554e662562";
logging-data="729866"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zvAuW317g7ef9YuvG5QgEFRqKtI+OM+I="
Cancel-Lock: sha1:sIzUG1R/QtB3YBoyJVB0l4R3jPI=
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: Adam H. Kerman - Wed, 20 Dec 2023 19:19 UTC

nicholas <saunders.nicholas@gmail.com> wrote:

>I'm reading and writing gmail fine, and can see all folders...except for
>one:

Oh my gawd

DO NOT post your credentials to a public network.

>:~$
>:~$ grep gmail .pinerc.gmail

grep isn't helpful because it doesn't pull the value, which is likely to
have continuation lines. grep doesn't understand continuation lines.

>user-domain=gmail.com
>smtp-server=smtp.gmail.com:587/tls/user=[deleted]

Eduardo has always told us that the protocol implies the port, so don't
use both. I'm using SSL.

smtp.gmail.com/ssl/user=[deleted]

>inbox-path={imap.gmail.com:993/ssl/novalidate-cert/user=[deleted]}INBOX

I'm using

imap.gmail.com/ssl/user=[deleted]

Again, if you specify the protocol, don't specify the port. DO NOT use
novalidate-cert, which is for self-signed certificates. The Google
certificate should validate. Yeah yeah, it's technically self signed
since Google owns it, heh.

>incoming-folders=[deleted] {imap.gmail.com:993/novalidate-cert/ssl/user=[deleted]}

Are you checking incoming servers on more than one site? If not, leave
the unset.

>folder-collections="[deleted]" {imap.gmail.com:993/ssl/user=[deleted]}[],

This should have exactly the same syntax as your inbox. The purpose of
this is to allow you to see Google tags as pseudofolders. In olden days,
the entry here required doubled brackets, gah.

>patterns-roles=LIT:pattern="/NICK=gmail/FLDTYPE=ANY" action="/ROLE=1/
>FROM=[deleted]/RTYPE=NC/FTYPE=NC/CTYPE=NC"
>nicholas@mordor:~$

Are you sending from different email addresses? That's what the Roles
command is for. This has nothing to do viewing messages in pseudofolders
in IMAP.

>How can I get the "All Mail" folder listed?

On your M Main > L List index screen, you should see the Folder Collection
you set for Gmail. You should see "[Gmail]/". Click on that. It will
display pseudofolders. Then you'll see "All Mail", which I suppose is
literally the only actual folder.

Re: reading the "All Mail" folder on Gmail over IMAP

<kudc5kx9d8.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=645&group=comp.mail.pine#645

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.mail.pine
Subject: Re: reading the "All Mail" folder on Gmail over IMAP
Date: Thu, 21 Dec 2023 01:37:08 +0100
Lines: 18
Message-ID: <kudc5kx9d8.ln2@Telcontar.valinor>
References: <ulv9mr$la11$1@dont-email.me> <ulveo2$m8oa$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net G6AGpsI6bWWtMtvrIw3xqgWy8atBxIjWDlWyclpSH2Hy2ukWMA
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:YUyFPJT2rMWqVt+7Soa6pdXUgUc= sha256:lBrcdMdedAhjQ2+6BooTx51X0vH1EiozLZtgFzkUaRk=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <ulveo2$m8oa$1@dont-email.me>
 by: Carlos E.R. - Thu, 21 Dec 2023 00:37 UTC

On 2023-12-20 20:19, Adam H. Kerman wrote:
> nicholas <saunders.nicholas@gmail.com> wrote:
>
>> I'm reading and writing gmail fine, and can see all folders...except for
>> one:
>
> Oh my gawd
>
> DO NOT post your credentials to a public network.

Well... it is not that bad, only his email, which is also uses to post.
He did not include the password.

....

--
Cheers, Carlos.

Re: reading the "All Mail" folder on Gmail over IMAP

<5395b99d-3f64-4552-828c-caec052b29c5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=646&group=comp.mail.pine#646

  copy link   Newsgroups: comp.mail.pine
X-Received: by 2002:a05:620a:1a1f:b0:77e:cedc:3df6 with SMTP id bk31-20020a05620a1a1f00b0077ecedc3df6mr30998qkb.7.1703196037877;
Thu, 21 Dec 2023 14:00:37 -0800 (PST)
X-Received: by 2002:a05:690c:e06:b0:5d3:40f3:56bf with SMTP id
cp6-20020a05690c0e0600b005d340f356bfmr239360ywb.1.1703196037367; Thu, 21 Dec
2023 14:00:37 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.pine
Date: Thu, 21 Dec 2023 14:00:36 -0800 (PST)
In-Reply-To: <ulv9mr$la11$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=194.195.93.96; posting-account=hV9BCwoAAAD6nZpOFiYTHpQZWLDAYR8U
NNTP-Posting-Host: 194.195.93.96
References: <ulv9mr$la11$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5395b99d-3f64-4552-828c-caec052b29c5n@googlegroups.com>
Subject: Re: reading the "All Mail" folder on Gmail over IMAP
From: brand...@google.com (Brandon Jewett-Hall)
Injection-Date: Thu, 21 Dec 2023 22:00:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Brandon Jewett-Hall - Thu, 21 Dec 2023 22:00 UTC

On Wednesday, December 20, 2023 at 9:53:35 AM UTC-8, nicholas wrote:
>
> How can I get the "All Mail" folder listed?

Gmail has an IMAP visibility setting for each label. To view and modify your "All Mail" configuration, log in to your Gmail account in a browser, go to the full Settings page, select the Labels section using the upper navigation bar, look under "System Labels" and check the "Show in IMAP" setting for "All Mail".

Re: reading the "All Mail" folder on Gmail over IMAP

<um35un$1eslo$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=647&group=comp.mail.pine#647

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nic...@example.com (nicholas)
Newsgroups: comp.mail.pine
Subject: Re: reading the "All Mail" folder on Gmail over IMAP
Date: Fri, 22 Dec 2023 05:14:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <um35un$1eslo$1@dont-email.me>
References: <ulv9mr$la11$1@dont-email.me>
<5395b99d-3f64-4552-828c-caec052b29c5n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Dec 2023 05:14:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cf01a293e998b3db9324e01bfe7454ba";
logging-data="1536696"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uh+6AxIlvEHM8td9j8TTQI2xKsPNdLoU="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:JgmLY1PwvC+ISCxr7mOr33w8V98=
 by: nicholas - Fri, 22 Dec 2023 05:14 UTC

On Thu, 21 Dec 2023 14:00:36 -0800 (PST), Brandon Jewett-Hall wrote:

> On Wednesday, December 20, 2023 at 9:53:35 AM UTC-8, nicholas wrote:
>>
>> How can I get the "All Mail" folder listed?
>
> Gmail has an IMAP visibility setting for each label. To view and modify
> your "All Mail" configuration, log in to your Gmail account in a
> browser, go to the full Settings page, select the Labels section using
> the upper navigation bar, look under "System Labels" and check the "Show
> in IMAP" setting for "All Mail".

Ah, that was quite helpful. I scrolled down to [Gmail] and am able to
read it.

My e-mail is just overflowing and it seems to be this folder that's
causing the problem. The folder has too many e-mails to even sort, that
just hangs.

How would I know the number of messages in the folder? To select the
oldest messages there for backup.

Thanks,

Nick

Re: reading the "All Mail" folder on Gmail over IMAP

<slrnuoadcl.51qm.nick@mordor.saundersconsulting.tech>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=649&group=comp.mail.pine#649

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nic...@example.com
Newsgroups: comp.mail.pine
Subject: Re: reading the "All Mail" folder on Gmail over IMAP
Date: Fri, 22 Dec 2023 07:07:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 74
Message-ID: <slrnuoadcl.51qm.nick@mordor.saundersconsulting.tech>
References: <ulv9mr$la11$1@dont-email.me> <ulveo2$m8oa$1@dont-email.me>
Reply-To: someone@example.com
Injection-Date: Fri, 22 Dec 2023 07:07:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cf01a293e998b3db9324e01bfe7454ba";
logging-data="1563432"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oAx37XbtVfXfnNEXOivaNvYCqqZ5yXQk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:2KM/2rLv2amt4z5FB7ooIkZfPBY=
 by: nic...@example.com - Fri, 22 Dec 2023 07:07 UTC

On 2023-12-20, Adam H. Kerman <ahk@chinet.com> wrote:
> nicholas <saunders.nicholas@gmail.com> wrote:
>
>>I'm reading and writing gmail fine, and can see all folders...except for
>>one:
>
> Oh my gawd
>
> DO NOT post your credentials to a public network.

Fair enough

>>:~$
>>:~$ grep gmail .pinerc.gmail
>
> grep isn't helpful because it doesn't pull the value, which is likely to
> have continuation lines. grep doesn't understand continuation lines.
>
>>user-domain=gmail.com
>>smtp-server=smtp.gmail.com:587/tls/user=[deleted]
>
> Eduardo has always told us that the protocol implies the port, so don't
> use both. I'm using SSL.
>
> smtp.gmail.com/ssl/user=[deleted]

Okay, interesting, thanks.

>>inbox-path={imap.gmail.com:993/ssl/novalidate-cert/user=[deleted]}INBOX
>
> I'm using
>
> imap.gmail.com/ssl/user=[deleted]
>
> Again, if you specify the protocol, don't specify the port. DO NOT use
> novalidate-cert, which is for self-signed certificates. The Google
> certificate should validate. Yeah yeah, it's technically self signed
> since Google owns it, heh.
>
>>incoming-folders=[deleted] {imap.gmail.com:993/novalidate-cert/ssl/user=[deleted]}
>
> Are you checking incoming servers on more than one site? If not, leave
> the unset.
>
>>folder-collections="[deleted]" {imap.gmail.com:993/ssl/user=[deleted]}[],
>
> This should have exactly the same syntax as your inbox. The purpose of
> this is to allow you to see Google tags as pseudofolders. In olden days,
> the entry here required doubled brackets, gah.
>
>>patterns-roles=LIT:pattern="/NICK=gmail/FLDTYPE=ANY" action="/ROLE=1/
>>FROM=[deleted]/RTYPE=NC/FTYPE=NC/CTYPE=NC"
>>nicholas@mordor:~$
>
> Are you sending from different email addresses? That's what the Roles
> command is for. This has nothing to do viewing messages in pseudofolders
> in IMAP.
>
>>How can I get the "All Mail" folder listed?
>
> On your M Main > L List index screen, you should see the Folder Collection
> you set for Gmail. You should see "[Gmail]/". Click on that. It will
> display pseudofolders. Then you'll see "All Mail", which I suppose is
> literally the only actual folder.

This looks like some interesting updates.

I use the Roles only so that the from field is populated with an explicit value as Alpine seems to pickup the local user and pop that into the "from" field.

-Nick

Re: reading the "All Mail" folder on Gmail over IMAP

<um4f7v$1l2qi$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=653&group=comp.mail.pine#653

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ahk...@chinet.com (Adam H. Kerman)
Newsgroups: comp.mail.pine
Subject: Re: reading the "All Mail" folder on Gmail over IMAP
Date: Fri, 22 Dec 2023 16:58:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <um4f7v$1l2qi$1@dont-email.me>
References: <ulv9mr$la11$1@dont-email.me> <ulveo2$m8oa$1@dont-email.me> <slrnuoadcl.51qm.nick@mordor.saundersconsulting.tech>
Injection-Date: Fri, 22 Dec 2023 16:58:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e225b232d53ba9d6d19634ba0680050c";
logging-data="1739602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NydAfor0DwUPvq3u77eeTzK3kXJAE0eA="
Cancel-Lock: sha1:WvBO3ggAWXGLPLcg9yZfzravE4I=
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: Adam H. Kerman - Fri, 22 Dec 2023 16:58 UTC

nick@example.com wrote:
>On 2023-12-20, Adam H. Kerman <ahk@chinet.com> wrote:
>>nicholas <saunders.nicholas@gmail.com> wrote:

>>>. . .

>>>How can I get the "All Mail" folder listed?

>>On your M Main > L List index screen, you should see the Folder Collection
>>you set for Gmail. You should see "[Gmail]/". Click on that. It will
>>display pseudofolders. Then you'll see "All Mail", which I suppose is
>>literally the only actual folder.

As the O.P. told you, within the settings of your Gmail account, you
must authorize access to All Mail and its pseudofolders explicitly. He
told you how to do that. I should have mentioned that.

In Gmail, deleted messages are a separate folder, not a pseudofolder
within All Mail. The purpose is to move the deleted messages out of All
Mail, holding them in another folder for 30 days, after which the system
expunges them. I can't recall if Spam is also a separate folder.
Messages live there for 30 days. I believe these defaults can be changed
in Gmail settings.

From the perspective of the IMAP user, a genuine folder versus a
pseudofolder are offered the same way.

Within alpine, enter the Deleted Messages folder and use the X Expunge
command to permanently delete a message. Within Gmail, there are
commands to empty the deleted folder.

With regard to spam messages, you'd have to be using Gmail with your
browser to unmark spam messages, which supposedly teaches Google's spam
recognition techniques. If you don't care about this, using IMAP, you
can still save a message in the Spam folder to an archived messages
folder that you maintain elsewhere.

>This looks like some interesting updates.

>I use the Roles only so that the from field is populated with an explicit value as Alpine seems to pickup the local user and pop that into the "from" field.

Roles has a huge number of features and filters based on how the message
was received and whether your email address was on To, Cc, or Bcc (in
which case it's just in ENVELOPE FROM), where it's archived, how replies
are handled, etc. It can look for a mailing list you subscribe to as
well, or Subjects can be filtered. There's a lot in this command.

It's overkill for the purpose of using exactly one email address.

An easier way would have been to set an explicit From header for a new
message or reply message in Customized Headers.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor