I'm trying to get the new oauth2 support working but find the documentation to be somewhat sparse and need some assistance.
The overall goal is to be able to forward a bunch of messages to a gmail account using dist (so the 822 To/From headers will be intact as well as the mime structure).
Using normal smtp/port26 I managed to filre a nice bash loop over the meesages sending them one bu one using dist, and '-whatnowproc send'. Works fine, but how am I supposed to add the handlful of headers which seems to be required for send using oauth?
Trying to send a single message interactively...what's the mts.conf settings required? I tried server=smtp.gmail.com
and strace suggests that it figures out to use port 587 itself (triggerd by the -sasl I guess), but smtp.gmail.com
has no AUTH support.
Connected to gmail-smtp-msa.l.google.com
Escape character is '^]'.
ESMTP f3sm5205215lff.21 - gsmtp
at your service, [18.104.22.168]
451 4.4.2 Timeout - closing connection. f3sm5205215lff.21 - gsmtp
Connection closed by foreign host.
(which does not resolve in DNS from over here), and of Capabilities the google advertised server