![]() Unfortunately there is little interest in releasing a Fetchmail version with Asĭavmail is java, it’s a pain to have around, so I thought I’d give someĭetails on how to do this more directly in fetchmail, as all the availableĭocs I found were a little vague, and it’s quite easy to screw up.Īs it happens, I came across a generally better I wish there aĭescribed accessing Office365 email (and in particular its oauth2 flow) viaĭavmail, allowing me to continue using fetchmail, procmail and mutt. So far this is working well for me, but it’s certainly ugly. Obviously, you’ll need to do this interactively from the terminal, then restart Please paste the full resulting redirection URL: Please visit the following URL to authenticate account. 23:44:25: Authorisation request received for (interactive mode) emailproxy.py -no-gui -config-file /home/localusr/src/email-oauth2-proxy/my.config -external-auth This does what davmail does when an authorization is needed, like this: $ sudo systemctl stop emailproxy ![]() Have a fork with this in my no-gui-external The maintainer isn’t interested in supporting headless in any other way, so I README talks vaguely about log monitoring, and this hack isn’t permitted by Redirect-uri, but this is awkward enough to use that it seems useless: the In theory, you can use the -local-server-auth with a localhost Unfortunately, for truly headless operation, things are a bit more complicated. In the upstream project, only initial authorizations require the GUI. Here’s my service file I use, slightly modified from the upstream’s README: $ cat /etc/systemd/system/rviceĮxecStart=/home/localuser/src/email-oauth2-proxy/emailproxy.py -external-auth -no-gui -config-file /home/localuser/src/email-oauth2-proxy/my.config The tray menu to follow the authorization flow. When you first connect, you will get a GUI pop-up and you need to interact with We’ll configure fetchmail as follows: poll localhost protocol IMAP port 1993Īuth password username " "Īnd mutt like this: set smtp_url = "smtp:// smtp_pass True, and unfortunately, that’s the default. To False: I’m a bit bemused on why anyone would ever want this to be set to We’re re-using davmail’s client_id again. Permanent configuration and acquired tokens, but the static part looks somethingĬlient_id = facd6cff-a294-4415-b59f-c5b01937d7bd We need some small tweaks to the shipped configuration file. Experimenting with replacing davmail with Simon Robinson’s super-cool
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |