[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sending mail: starttls and gnutls-cli sessions
From: |
Ted Zlatanov |
Subject: |
Re: sending mail: starttls and gnutls-cli sessions |
Date: |
Thu, 30 Apr 2009 14:07:22 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux) |
On Mon, 27 Apr 2009 12:27:06 +0200 Marco Maggi <marco.maggi-ipsu@poste.it>
wrote:
MM> Now with Poste.it I can do the same on an eshell session,
MM> but I have to leave out the "--starttls" option:
MM> $ gnutls-cli --crlf --port 465 relay.poste.it
MM> because the server wants the encrypted bridge set up
MM> immediately. Alternatively I can start gnutls-cli with
MM> "--starttls" and immediately send a SIGALRM to the process,
MM> without waiting for server's greetings.
...
MM> My problem is that when `smtpmail-via-smtp' does:
MM> (setq greeting (smtpmail-read-response process))
MM> Gnus blocks waiting for input that will never arrive, until
MM> I stop it with C-g.
MM> What to do? Do I have to send a feature request to
MM> someone?
Can you write a shell script that will DTRT and open the connection? If
yes, use that script to set up the tunnel and don't get Gnus involved
before the tunnel is running.
Ted