nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] gmail oauth2 howto


From: Ken Hornstein
Subject: Re: [Nmh-workers] gmail oauth2 howto
Date: Sun, 09 Oct 2016 12:52:56 -0400

>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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]