...
Post by Nicholas SaundersI 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.
Post by Nicholas SaundersHow 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.