[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] gmail oauth2 howto
From: |
David Levine |
Subject: |
Re: [Nmh-workers] gmail oauth2 howto |
Date: |
Sun, 09 Oct 2016 13:49:46 -0400 |
Ken wrote:
> [Anders:]
> >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),
nmh (post(1) now defaults to using the submission port, 587.
> Try adding -tls to send; smtp.gmail.com won't advertise that it supports
> SASL until you negotiate TLS.
Yup, I use this, it's one of the examples in the send(1) man page:
address@hidden: -sasl -saslmech xoauth2
-authservice gmail -tls -server smtp.gmail.com
-user address@hidden
You might not be using sendfrom, but the send switchs are the same
without it. (I'll add the missing -sasl.)
I don't override any of the mts.conf defaults.
David
- [Nmh-workers] gmail oauth2 howto, Anders Eriksson, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto, Ken Hornstein, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto,
David Levine <=
- Re: [Nmh-workers] gmail oauth2 howto, David Levine, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto, Anders Eriksson, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto, Ken Hornstein, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto, Anders Eriksson, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto, Ken Hornstein, 2016/10/09
- Re: [Nmh-workers] gmail oauth2 howto, Anders Eriksson, 2016/10/10