nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] gmail oauth2 howto

2016-10-09 11:53:11
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?

I think you can add the appropriate switches to your .mh_profile for send.
AFAIK, you only need one switch (-authservice).

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.

Try adding -tls to send; smtp.gmail.com won't advertise that it supports
SASL until you negotiate TLS.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>