9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: 9front@9front.org
Subject: Re: [9front] /sys/lib/tls or /sys/lib/ssl
Date: Fri, 23 Mar 2018 13:38:09 +0000	[thread overview]
Message-ID: <31AC7711-D3D0-463C-BFE1-ABE3C0677EDB@quintile.net> (raw)
In-Reply-To: <1776F9027BEDDD69C20EA3A6791B17D5@hera.eonet.ne.jp>

i have never used it but i think tou just need to wrap tlsclient around smtpd to do raw tls smtp (rather than ehlo style)

-Steve


> On 23 Mar 2018, at 00:45, kokamoto@hera.eonet.ne.jp wrote:
> 
> Our provider does not support STARTTLS, but only tls encripted communication for secure mail.
> I checked /sys/src/cmd/upas/smtp, and guess we need some funtion in hello() around:
> 
>        if(tryauth && (encrypted || insecure) &&
>            (cistrncmp(s, "250 AUTH", strlen("250 AUTH")) == 0 ||
>             cistrncmp(s, "250-AUTH", strlen("250 AUTH")) == 0)){
>            ret = doauth(s + strlen("250 AUTH "));
>            s_free(r);
>            return ret;
>        }
>            <=======here=====
>    }
> 
> Am I wrong?
> 
> Kenji



  reply	other threads:[~2018-03-23 13:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-23  0:45 kokamoto
2018-03-23 13:38 ` Steve Simon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-24  3:54 kokamoto
2018-03-24  2:25 kokamoto
2018-03-24  2:21 kokamoto
2018-03-23 23:51 kokamoto
2018-03-23 23:37 kokamoto
2018-03-23 13:50 cinap_lenrek
2018-03-20  5:13 Dr.Kenji Okamoto
2018-03-20 13:11 ` [9front] " Steve Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31AC7711-D3D0-463C-BFE1-ABE3C0677EDB@quintile.net \
    --to=steve@quintile.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).