[neomutt-users] No OAUTH refresh command defined

Reto reto at slightlybroken.com
Wed Mar 29 00:05:45 CEST 2023


Hi Dan,
To quote the code:

> You will see this error message if (1) you have "oauthbearer" in
> one of your $*_authenticators and (2) you do not have the corresponding
> $*_oauth_refresh_command defined.

Meaning, you need to add a command that can get you an oauth token.
Neomutt has a contrib script "mutt_oauth2.py" that you could use.

https://github.com/neomutt/neomutt/blob/main/contrib/oauth2/mutt_oauth2.py.README

Then set imap_oauth_refresh_command accordingly.

Hope that helps,
Reto


More information about the neomutt-users mailing list