[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3160: smtpmail request, support immediate starttls

From: Marco Maggi
Subject: bug#3160: smtpmail request, support immediate starttls
Date: Wed, 29 Apr 2009 10:19:23 +0200


  I  am   using  Emacs  22.3   and  I  miss  a   feature  in
"smtpmail.el";  I have checked  the CVS  version [1]  and it
seems to be missing there, too.

  I  can successfully  use smtp.gmail.com:587  to  send mail
using "gnutls-cli" to  establish the encrypted bridge.  With
this  server:  smtpmail exchanges  greetings,  then sends  a
STARRTLS  command,   then  delivers  a   SIGALRM  signal  to
"gnutls-cli"  to  build the  bridge;  after  this the  ESMTP
dialogue goes on.  Fine.

  With the server relay.poste.it:465 (please do not mailbomb
it) the procedure does not  work because it wants the bridge
built immediately,  without exchanging greetings.   This can
be done  by sending SIGALRM to "gnutls-cli"  right after the
connection has  been successfully established.   After this:
the ESMTP dialogue can  start as usual with greetings, auth,

  I am not an Elisp programmer, but I guess that the problem
is  in  `smtpmail-via-smtp'   which  always  tries  to  send
EHLO/HELO   and    only   after   considers    a   call   to
`starttls-negotiate'.  The solution should be a customisable
variable that selects the  current procedure or an immediate
call to `starttls-negotiate'.

  An    alternative   solution   is    not   to    use   the
"-s"/"--starttls" on  the command line  of "gnutls-cli", but
this would require a much bigger change.


P.S. If more  details are needed, please CC  me because I am
not on this list.

Marco Maggi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]