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:

    [email protected]: -sasl -saslmech xoauth2
        -authservice gmail -tls -server smtp.gmail.com
        -user [email protected]

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 mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to