1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-03-09 22:09:47 -04:00
Joe Steele 01d2247ffd Change POP3 error response detection
Instead of interpreting a "-" at the beginning of a line as
an error response, consider the absence of a "+" at the
beginning of a line as an error response.

This is what Thunderbird does.

http://hg.mozilla.org/releases/comm-esr24/file/55e96a433bd1/mailnews/local/src/nsPop3Protocol.cpp#l1177

The problem arises with godaddy servers spewing additional
lines of data upon login failure.  The login was being
interpreted as successful, and a STAT commanded was subsequently
being sent, resulting in a dialog saying 'Cannot connect to
server. (Invalid int: "auth_error:")'.

$ openssl s_client -quiet -crlf -connect pop.secureserver.net:995
...
+OK <24984.1394317012@pop.secureserver.net>
user testuser
+OK
pass testpass
testuser not found in the auth database
warning: auth_error: authorization failed (no such object)
-ERR authorization failed  Check your server settings.
2014-03-11 19:10:14 -04:00
2014-01-04 01:52:09 +01:00
2013-11-11 01:09:09 +01:00
2013-03-16 01:57:21 +01:00
2013-09-21 09:23:33 +09:00
2014-03-01 05:02:17 +01:00
2013-05-31 18:00:45 -04:00
2014-02-10 20:00:16 +01:00
2014-03-06 02:04:14 +01:00
2014-02-24 17:04:29 -05:00
2013-11-07 06:48:10 +01:00
2013-11-07 06:48:10 +01:00
2014-02-10 20:00:16 +01:00
2014-02-10 20:43:16 +01:00
2013-06-28 23:59:08 +02:00
Description
No description provided
887 MiB
Languages
Java 69.2%
PostScript 30.2%
Perl 0.3%
Gradle 0.2%