Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-15-2003, 08:09 AM   #1
LQ Newbie
Registered: Jul 2003
Location: Montreal
Posts: 1

Rep: Reputation: 0
Question qpopper TLS/SSL Handshake failed: -1

Hi, I just compiled qpopper 4.0.5 with the SSL option. But I can't get it working. I followed instructions to generate a "cert.pem" file that seems to be ok. I can successfully load qpopper without any error. When I try to pop with my mail client (Eudora or Outlook Express) it isn't working. I got a timeout error.

When i disable ssl, user can successfully log, but as soon as I enable ssl and also enable ssl support on the client side, it isn't working.

Here is the cmd line I use to load qpopper:

popper -s -f /etc/mail/pop/qpopper.config

the content of qpopper.config is the following:

set debug = true
set tls-support = alternate-port
set tls-version = default
set tls-server-cert-file = /etc/mail/certs/cert.pem

Here is the log I get in syslog when I try to pop:

Jul 13 16:58:29 josias popper[15340]: popper: Server: listening on
Jul 13 16:58:44 josias popper[15342]: Set debug to true
Jul 13 16:58:44 josias popper[15342]: Set tls-support to alternate-port (1)
Jul 13 16:58:44 josias popper[15342]: Set tls-version to default (0)
Jul 13 16:58:44 josias popper[15342]: Set tls-server-cert-file to "/etc/mail/certs/cert.pem"
Jul 13 17:00:46 josias popper[15342]: (v4.0.5) Timeout (120 secs) during SSL/TLS handshake with client at (
Jul 13 17:00:46 josias popper[15342]: TLS/SSL Handshake failed: -1

I used Eudora to test the client side and I have this error:

<Dominant>, Logging into POP Server, [08:32:05 PM]
Error reading from network Cause: Connection closed by foreign host. (0)

You will also notice that even if I used the "alternate-port" option the server is still listening on port 110.

Any help would be much appreciated.

Thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd ssl/tls jefffq Linux - Software 2 07-05-2005 07:38 PM
Problem with QPopper & tls PktLoss Linux - Software 0 05-21-2005 08:37 PM
up2date SSL handshake problem kamii47 Red Hat 1 04-21-2005 04:16 PM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 09:47 PM
SSL vs. TLS X11 Linux - Security 8 12-17-2002 04:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration