From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a-painless.mh.aa.net.uk ([81.187.30.51]) by ewsd; Fri Mar 23 09:38:30 EDT 2018 Received: from 10.190.187.81.in-addr.arpa ([81.187.190.10] helo=quintile.net) by a-painless.mh.aa.net.uk with esmtp (Exim 4.89) (envelope-from ) id 1ezMtZ-0006Mn-Ie for 9front@9front.org; Fri, 23 Mar 2018 13:38:13 +0000 Received: from [192.168.35.42] ([213.133.128.52]) by quintile.net; Fri Mar 23 13:38:10 GMT 2018 From: Steve Simon Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Fri, 23 Mar 2018 13:38:09 +0000 Subject: Re: [9front] /sys/lib/tls or /sys/lib/ssl Message-Id: <31AC7711-D3D0-463C-BFE1-ABE3C0677EDB@quintile.net> References: <1776F9027BEDDD69C20EA3A6791B17D5@hera.eonet.ne.jp> In-Reply-To: <1776F9027BEDDD69C20EA3A6791B17D5@hera.eonet.ne.jp> To: 9front@9front.org X-Mailer: iPhone Mail (15D100) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: distributed template blockchain out-scaling layer i have never used it but i think tou just need to wrap tlsclient around smtp= d to do raw tls smtp (rather than ehlo style) -Steve > On 23 Mar 2018, at 00:45, kokamoto@hera.eonet.ne.jp wrote: >=20 > Our provider does not support STARTTLS, but only tls encripted communicati= on for secure mail. > I checked /sys/src/cmd/upas/smtp, and guess we need some funtion in hello(= ) around: >=20 > if(tryauth && (encrypted || insecure) && > (cistrncmp(s, "250 AUTH", strlen("250 AUTH")) =3D=3D 0 || > cistrncmp(s, "250-AUTH", strlen("250 AUTH")) =3D=3D 0)){ > ret =3D doauth(s + strlen("250 AUTH ")); > s_free(r); > return ret; > } > <=3D=3D=3D=3D=3D=3D=3Dhere=3D=3D=3D=3D=3D > } >=20 > Am I wrong? >=20 > Kenji