Hans Conreid wrote:
To get an app password requires 2-step verification: I'd have to receive an e-mail and enter a key every time I send a message. Can I automate this
with sendmail?
sendmail uses Cyrus-SASL to implement AUTH.
So you need to check with that software whether the mechanism
is provided: maybe cyrus-sasl-xoauth2 does this?
If so, you have to add that auth plugin and give it a try.
Then look at cf/README:
Providing SMTP AUTH Data when sendmail acts as Client -----------------------------------------------------
...
or FEATURE(`authinfo') must be used which provides a separate map.
Specify an "socketmap" for this and you can provide any info
via a process which you can write to do whatever you want/need.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)