doc: add oauth to aerc-smtp

Signed-off-by: Seán C McCord <ulexus@gmail.com>
This commit is contained in:
Seán C McCord 2020-09-13 15:17:36 -04:00 committed by Reto Brunner
parent 9d80141408
commit 72d81ba603

View file

@ -16,7 +16,7 @@ In accounts.conf (see *aerc-config*(5)), the following SMTP-specific options are
available: available:
*outgoing* *outgoing*
smtp[s][+plain|+none]://username[:password]@hostname[:port] smtp[s][+plain|+login|+none|+oauthbearer]://username[:password]@hostname[:port]?[:oauth2_params]
Remember that all fields must be URL encoded. The "@" symbol, when URL Remember that all fields must be URL encoded. The "@" symbol, when URL
encoded, is *%40*. encoded, is *%40*.
@ -43,6 +43,10 @@ available:
Authenticate with a username and password using AUTH LOGIN. This is an obsolete Authenticate with a username and password using AUTH LOGIN. This is an obsolete
protocol, but is required for some common webmail providers. protocol, but is required for some common webmail providers.
*+oauthbearer*:
SMTP with TLS/SSL using OAUTHBEARER Authentication. See documentation in
*aerc-imap*(5) for usage.
*outgoing-cred-cmd* *outgoing-cred-cmd*
Specifies the command to run to get the password for the SMTP Specifies the command to run to get the password for the SMTP
account. This command will be run using `sh -c [command]`. If a account. This command will be run using `sh -c [command]`. If a