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

Re: [mpop-users] getting started



Hi Dave!

On Tue, 23 Dec 2014 17:09:14 -0800 (PST), Dave Hamaker wrote:
> E:\Documents and Settings\Administrator\Desktop>mpop --serverinfo
> --host=pop.zoho.com --port=995 --tls --tls-certcheck=off mpop:
> network read error: timeout

You need --tls-starttls=off. (This also automatically sets port=995;
you almost never need to set the port yourself).

Explanation:

TLS can be started from within an active POP3 session using a STARTTLS
command (starttls=on; the default), or at the beginning of a connection
before a POP3 session is initialized (starttls=off).

In the first case, mpop awaits an initial message from the server, then
initializes the POP3 session, then starts TLS. Since all this is done
inside a POP3 session, the default port of 110 for POP3 is used.

In the second case, mpop has to send an initial message to start TLS
first, and once TLS is established, the server will send its initial
POP3 message. Since this is different from a pure POP3 session, it
needs a different port: 995.

So if you have starttls=on on port 995, then mpop will wait for an
initial POP3 message, while the server will wait for initialization of
TLS -- the result is a timeout.

Regards,
Martin