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

Creating a local folder for Gmail backup

15 views
Skip to first unread message

Nicholas Saunders

unread,
Nov 28, 2023, 3:32:19 AM11/28/23
to
How can I create a folder which is only local and not on IMAP?
I see:


Incoming-Folders
Incoming Message Folders

saunders...@gmail.com
Folders on imap.gmail.com:993/ssl/user=saunders...@gmail.com in home directory

and then, of course, many IMAP folders.

Looking to backup e-mails to ~/mail/ and free up some space.



Thanks,

Nick

Nicholas Saunders

unread,
Nov 28, 2023, 3:47:19 AM11/28/23
to
I exported e-mails to a file and that seemed to have created an mbox file.

Copied the file around to a totally different account, and, lo and behold, read it in from Alpine.


For my purposes, today, that works fantastically. I should've just used Alpine from the get-go. The "app specific password" wasn't that much of a hassle, all things considered.



How would I import such e-mails to Thunderbird? Thunderbird won't read localhost e-mails, so far as I can tell. There might be some e-mails which just need a GUI to display properly.



thanks,

Nick

Eduardo Chappa

unread,
Nov 28, 2023, 10:42:43 AM11/28/23
to
On Tue, 28 Nov 2023, Nicholas Saunders wrote:

> How can I create a folder which is only local and not on IMAP?
> [...]
> Looking to backup e-mails to ~/mail/ and free up some space.

Press M S L A to add a collection, and enter the following information:

Nickname : Anything you want
Server :
Path : mail/
View :

Exit and save, and that add a collection where you can add folders.

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

Nicholas Saunders

unread,
Nov 28, 2023, 8:02:40 PM11/28/23
to
That works very well. Is there a timeout risk for very large folders? I need to free up space in Gmail through IMAP.


Thanks,

Nick

Eduardo Chappa

unread,
Nov 29, 2023, 11:00:46 PM11/29/23
to
On Tue, 28 Nov 2023, Nicholas Saunders wrote:

> That works very well. Is there a timeout risk for very large folders?
> I need to free up space in Gmail through IMAP.

Yes, so my advice is to transfer messages by grouping them. For example
first transfer messages 1 to 500, delete and expunge those, and then
transfer messages 1 to 500 again, etc.

Nicholas Saunders

unread,
Dec 2, 2023, 12:19:16 AM12/2/23
to
This is working fine, thanks.

Carlos E.R.

unread,
Dec 17, 2023, 7:56:53 AM12/17/23
to
On 2023-11-28 09:47, Nicholas Saunders wrote:
> On Tuesday, 28 November 2023 at 00:32:19 UTC-8, Nicholas Saunders wrote:

...

> I exported e-mails to a file and that seemed to have created an mbox file.
>
> Copied the file around to a totally different account, and, lo and behold, read it in from Alpine.
>
>
> For my purposes, today, that works fantastically. I should've just used Alpine from the get-go. The "app specific password" wasn't that much of a hassle, all things considered.

There are also specific tools designed to copy (more?) mails from one
server to another, like for example "imapsync". That one doesn't do
oauth, AFAIK. The advantage is that it can run in scripts.


>
>
>
> How would I import such e-mails to Thunderbird? Thunderbird won't read localhost e-mails, so far as I can tell. There might be some e-mails which just need a GUI to display properly.


Yes, Thunderbird can read the folder.

For instance, if your folder path is

/home/name/mail/somefolder,

then you have first to find what is the path to your Thunderbird store.

For example, it could be:

/home/name/thunderbird/abcdefgh.default/Mail/Local Folders

You would change to that directory, close thunderbird and alpine, and do:

cd "/home/name/thunderbird/abcdefgh.default/Mail/Local Folders"
ln -s somefolder /home/name/mail/somefolder
touch somefolder.msf


Then start Thunderbird again. You should see the folder in "local
Folders". You must be careful not to use the folder simultaneously on
alpine and Thunderbird.


Alternatively, you can create your own imap server locally, and point
both Alpine and Thunderbird to it. This is what I do.

--
Cheers, Carlos.

Barry Landy

unread,
Jan 29, 2024, 2:23:59 AMJan 29
to
that is exactly what I do.

On Wed, 29 Nov 2023, Eduardo Chappa wrote:

:>On Tue, 28 Nov 2023, Nicholas Saunders wrote:
:>
:>> That works very well. Is there a timeout risk for very large folders? I
:>> need to free up space in Gmail through IMAP.
:>
:>Yes, so my advice is to transfer messages by grouping them. For example first
:>transfer messages 1 to 500, delete and expunge those, and then transfer
:>messages 1 to 500 again, etc.
:>
:>

--
Barry Landy Email: Remove nospam in from address
192, Gilbert Road, Cambridge CB4 3PB









0 new messages