emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] POP3 Over SSL with openssl


From: Elias Oltmanns
Subject: Re: [PATCH] POP3 Over SSL with openssl
Date: Thu, 06 Mar 2008 11:14:35 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7)

Naohiro Aota <address@hidden> wrote:
> Elias Oltmanns <address@hidden> writes:
>
>> Reiner Steib <address@hidden> wrote:
>>> On Mon, Mar 03 2008, Naohiro Aota wrote:
>>>
>>>> I tried to retrieve mails by POP3 Over SSL with openssl, but Gnus
>>>> stopped working displaing "Retrieving message 1 of 5 from myserver...".
>>>> Then I found that without -ign_eof and -quiet argument, openssl doesn't
>>>> send line begins with "R" or "Q" to server but renegotiate or quit its
>>>> connection. So sending "RETR" command made this problem.
>>>>
>>>> I suggest to call openssl commands with "-ign_eof" argument. Please find
>>>> the patch below.
>>>
>>> Does anyone see a problem with this?
>>
>> Since I don't use POP3, I can't test that. However, it looks fine to me
>> and it certainly doesn't break IMAP (checked that).
>
> Aren't you using "ssl" as nnimap-stream?

No, I'm using tls. Sorry if you got the wrong impression, but my comment
was meant as an acknowledgement to back your change.

> If so, please check `imap-ssl-program' to find out how openssl is
> called. By default, this variable is set as following.
>
> '("openssl s_client -quiet -ssl3 -connect %s:%p"
>   "openssl s_client -quiet -ssl2 -connect %s:%p"
>   "s_client -quiet -ssl3 -connect %s:%p"
>   "s_client -quiet -ssl2 -connect %s:%p")
>
> In this case, openssl is called with "-quiet" argument, which also make
> openssl ignore eof, so that it works fine.

Yes, I know. All I wanted to confirm was that it also works with tls
since your change was concerned with tls-program rather than
imap-ssl-program.

Regards,

Elias





reply via email to

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