[Alpine-info] O365 XOAUTH2 via fetchmail

Carlos E. R. robin.listas at telefonica.net
Thu Apr 21 05:56:11 PDT 2022


On 2022-04-21 14:31, Carl Edquist wrote:

> On Thu, 21 Apr 2022, Carlos E. R. wrote:

>

>> imapsync, which I mentioned in another post, doesn't care. It syncs

>> between imap servers, so in my case, one remote, one local using

>> dovecot; and my dovecot writes to mbox.

>>

>> It could be set as a cron job.

>>

>> Of course, if you are not already using a local imap server it is an

>> extra complication.

>

> Thanks again for mentioning this - at some point i may try that out if i

> get around to setting up dovcot locally.

>

> Yeah, while i find the idea of running a local mail server (like dovcot)

> kind of interesting (and in particular with things like indexed

> full-text search), i have kind of come full circle and, for the time

> being anyway, it strikes me that nothing beats the delightfully-retro

> simplicity of a mailbox just being a file on your filesystem.  Mail gets

> delivered by fetchmail (or whatever) to /var/mail/$USER; you read and

> compose mail in alpine; and alpine (or your scripts) send it via sendmail.



Yes, that is (was) my setup. fetchmail + spamassassin + amavis + clamav
+ procmail delivering to mbox folders.

Then at some point I added dovecot (because the imap package from Mark
Crispin became unavailable on openSUSE). Dovecot simply uses the
existing mbox files and serves them over imap. I can still use fetchmail
(and I did for many months), or move email between imap servers using
alpine, imapsync, thunderbird, whatever.

This actually simplified my setup, in which I can access my local
folders both in Alpine and Thunderbird (this email is being composed in
the later). It can be done without a local imap server, but that has its
own complications (thunderbird does not see a plain mbox file till you
add empty indexes).

What I don't have currently is dovecot search.



> Maybe it's just nostalgia talking, but most of the time i feel like the

> modern email experience hasn't really improved on the classic model.

>

> I get that the idea of IMAP and getting to "leave your mail on the

> server" is seductively convenient, compared to owning and managing your

> own data (especially if you want to access it from multiple devices),

> but then again this probably explains why gmail got to be so big.



Yes, the thing is I use several machines. Imap simplfies things.


>

> ...

>

> And to follow up on a comment Eduardo made, I do hope that even if the

> giant corporations manage to exile IMAP and SMTP from their fortresses,

> these classic protocols will still enjoy a good, long, free life in the

> wilderness of the borderlands, among their fellow average-sized programs.


I hope imap lives forever.

I have accounts using plain imap, like telefonica or gmx. And I am using
gmail via imap + application passwords, I have not tried oauth in Alpine.


> [insert watercolor painting of early-morning wildlife in the forrest]



:-)



--
Cheers / Saludos,

Carlos E. R.
(from 15.3 x86_64 at Telcontar)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 209 bytes
Desc: OpenPGP digital signature
URL: <http://mailman12.u.washington.edu/pipermail/alpine-info/attachments/20220421/8b753139/attachment.sig>


More information about the Alpine-info mailing list