Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"There is hopeful symbolism in the fact that flags do not wave in a vacuum." -- Arthur C. Clarke


computers / comp.mail.pine / batch export and delete over IMAP

SubjectAuthor
* batch export and delete over IMAPNicholas Saunders
`* Re: batch export and delete over IMAPEduardo Chappa
 `- Re: batch export and delete over IMAPNicholas Saunders

1
batch export and delete over IMAP

<14e03071-bd1f-4073-82e9-fe007bcdb6a2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.pine
X-Received: by 2002:ac8:1402:0:b0:423:70a0:6137 with SMTP id k2-20020ac81402000000b0042370a06137mr482299qtj.3.1701243104075;
Tue, 28 Nov 2023 23:31:44 -0800 (PST)
X-Received: by 2002:a17:90a:800c:b0:27d:2945:ad97 with SMTP id
b12-20020a17090a800c00b0027d2945ad97mr4222591pjn.2.1701243103715; Tue, 28 Nov
2023 23:31:43 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.pine
Date: Tue, 28 Nov 2023 23:31:43 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=172.103.152.184; posting-account=uXnM4AoAAACxowr8xs80HQyaY3SSK3dl
NNTP-Posting-Host: 172.103.152.184
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <14e03071-bd1f-4073-82e9-fe007bcdb6a2n@googlegroups.com>
Subject: batch export and delete over IMAP
From: saunders.nicholas@gmail.com (Nicholas Saunders)
Injection-Date: Wed, 29 Nov 2023 07:31:44 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1248
 by: Nicholas Saunders - Wed, 29 Nov 2023 07:31 UTC

I'm working with gmail and want the batch export to fail nicely, but also to delete e-mails which are exported successfully.

Can this be automated somehow? So that as an e-mail is exported it's immediately deleted, for example.

Thanks,

Nick

Re: batch export and delete over IMAP

<b25e7a30-6ca1-5117-0e3c-814fceeca1d8@washington.edu>

  copy mid

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

  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: chappa@washington.edu (Eduardo Chappa)
Newsgroups: comp.mail.pine
Subject: Re: batch export and delete over IMAP
Date: Wed, 29 Nov 2023 21:16:50 -0700
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <b25e7a30-6ca1-5117-0e3c-814fceeca1d8@washington.edu>
References: <14e03071-bd1f-4073-82e9-fe007bcdb6a2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=us-ascii
Injection-Info: dont-email.me; posting-host="7787d1abefa71645fc5a54f70c251e4b";
logging-data="1292341"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rPjk0tBPtGpyHOBs9PYKG"
Cancel-Lock: sha1:wfnzj1eejYZGkSOGYTLGD7cMvmM=
In-Reply-To: <14e03071-bd1f-4073-82e9-fe007bcdb6a2n@googlegroups.com>
 by: Eduardo Chappa - Thu, 30 Nov 2023 04:16 UTC

On Tue, 28 Nov 2023, Nicholas Saunders wrote:

> I'm working with gmail and want the batch export to fail nicely, but
> also to delete e-mails which are exported successfully.

Alpine has a setting

[ ] Save Will Not Delete

which if you have disabled as above, then saving messages will marke them
deleted in the imap folder. Please note that the word "export" does not
mean "save" in the alpine speak. Exporting a message means to save it as
you see it in your screen, and that does not include attachments. Saving a
message means to copy it to another folder, and this what you want to do,
so you have full access to it.

In regards to automation, you want to use the "; select" command. My
advice is that you use it as follows:

; N 1-500 <return>

this will select the first 500 messages. After this tell Alpine to

a s <input name of folder to save these messages to> <return>

and wait for this to complete. This is an atomic operation. What this
means is that either all 500 messages will be copied to the destination
folder or none of them will be copied. So after the case where 200
messages are copied and 300 are not will not happen. After that you can
press "X" to expunge the deleted messages and transfer messages 1 to 500
again.

I hope this helps.

--
Eduardo
https://alpineapp.email (web)
http://repo.or.cz/alpine.git (Git)

Re: batch export and delete over IMAP

<1066b33d-e97d-4e63-a312-3cee976d33cfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.pine
X-Received: by 2002:a05:620a:2105:b0:77d:ca8f:fb46 with SMTP id l5-20020a05620a210500b0077dca8ffb46mr118349qkl.5.1701324945685;
Wed, 29 Nov 2023 22:15:45 -0800 (PST)
X-Received: by 2002:a05:690c:fd3:b0:5be:baac:54e4 with SMTP id
dg19-20020a05690c0fd300b005bebaac54e4mr891337ywb.5.1701324945283; Wed, 29 Nov
2023 22:15:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.chmurka.net!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: Wed, 29 Nov 2023 22:15:44 -0800 (PST)
In-Reply-To: <b25e7a30-6ca1-5117-0e3c-814fceeca1d8@washington.edu>
Injection-Info: google-groups.googlegroups.com; posting-host=172.103.152.184; posting-account=uXnM4AoAAACxowr8xs80HQyaY3SSK3dl
NNTP-Posting-Host: 172.103.152.184
References: <14e03071-bd1f-4073-82e9-fe007bcdb6a2n@googlegroups.com> <b25e7a30-6ca1-5117-0e3c-814fceeca1d8@washington.edu>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1066b33d-e97d-4e63-a312-3cee976d33cfn@googlegroups.com>
Subject: Re: batch export and delete over IMAP
From: saunders.nicholas@gmail.com (Nicholas Saunders)
Injection-Date: Thu, 30 Nov 2023 06:15:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Nicholas Saunders - Thu, 30 Nov 2023 06:15 UTC

On Wednesday, 29 November 2023 at 20:16:55 UTC-8, Eduardo Chappa wrote:
> On Tue, 28 Nov 2023, Nicholas Saunders wrote:
>
> > I'm working with gmail and want the batch export to fail nicely, but
> > also to delete e-mails which are exported successfully.
> Alpine has a setting
>
> [ ] Save Will Not Delete
>
> which if you have disabled as above, then saving messages will marke them
> deleted in the imap folder. Please note that the word "export" does not
> mean "save" in the alpine speak. Exporting a message means to save it as
> you see it in your screen, and that does not include attachments. Saving a
> message means to copy it to another folder, and this what you want to do,
> so you have full access to it.
>
> In regards to automation, you want to use the "; select" command. My
> advice is that you use it as follows:
>
> ; N 1-500 <return>
>
> this will select the first 500 messages. After this tell Alpine to
>
> a s <input name of folder to save these messages to> <return>
>
> and wait for this to complete. This is an atomic operation. What this
> means is that either all 500 messages will be copied to the destination
> folder or none of them will be copied. So after the case where 200
> messages are copied and 300 are not will not happen. After that you can
> press "X" to expunge the deleted messages and transfer messages 1 to 500
> again.
>
> I hope this helps.
>
> --
> Eduardo
> https://alpineapp.email (web)
> http://repo.or.cz/alpine.git (Git)

Absolutely. I've been using export, so your suggestion to use save makes sense. I'll look into adding access to local folders.

Thanks,

Nick

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor