From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31684 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and ESMTP Date: 07 Jul 2000 08:41:42 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86hfa2xdk9.fsf@megalith.bp.aventail.com> References: Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035168067 15495 80.91.224.250 (21 Oct 2002 02:41:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:41:07 +0000 (UTC) Cc: ding@gnus.org, Kai.Grossjohann@CS.Uni-Dortmund.DE Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 27EC8D051F for ; Fri, 7 Jul 2000 09:58:27 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAC17415; Fri, 7 Jul 2000 08:54:55 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Jul 2000 08:53:57 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA00389 for ; Fri, 7 Jul 2000 08:53:38 -0500 (CDT) Original-Received: from mail1.rdc3.on.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by mailhost.sclp.com (Postfix) with ESMTP id 74F2FD051F for ; Fri, 7 Jul 2000 09:54:11 -0400 (EDT) Original-Received: from megalith.bp.aventail.com ([24.12.70.142]) by mail1.rdc3.on.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000707135410.JMKD11295.mail1.rdc3.on.home.com@megalith.bp.aventail.com>; Fri, 7 Jul 2000 06:54:10 -0700 Original-Received: (from wmperry@localhost) by megalith.bp.aventail.com (8.9.3/8.8.7) id IAA02517; Fri, 7 Jul 2000 08:41:42 -0500 X-Authentication-Warning: megalith.bp.aventail.com: wmperry set sender to wmperry@aventail.com using -f Original-To: Miroslav Zubcic X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >=20 > > Kevin already mentioned smtpmail.el. >=20 > No matter what I do with it, Gnus will send mail by calling sendmail > binary, not with smtpmail. :-( >=20 > > From looking at the source, smtpmail.el does not appear to grok ESMTP > > AUTH, but it should be possible to replace `open-network-stream' in > > the function smtpmail-via-smtp with `open-ssl-stream', and that should > > pretty much work. open-ssl-stream is part of ssl.el which comes with W= 3. >=20 > You have right Kai! Even to me (no habla LISP) is obvious, I must > replace only SMTP commands HELO/EHLO, and some minor changes must be > done. For STARTTLS (RFC 2487), ssl.el will be relative easy to > implement (on the first look). But for a start I must make smtpmail.el > to work with Gnus... ssl.el won't work with ESMTPs STARTTLS command, because it expects to just talk SSL from the beginning. ESMTP and HTTPS tunneling thru a proxy server expect you to start the SSL handshake partway thru the connection. Some old patches I had floating around for Emacs to natively support SSL would support this, but I never released them because of the #%!@#%@! NSA / US restrictions (this was probably 5 years ago :). Someone might be working on them - I sent them my old design outline (no code), but will let them announce something when they are ready. -Bill P.