diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-05 13:14:09 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-05 13:14:09 +0000 |
commit | 6452b2c571c21a1c396656a4b1ab10d62958782e (patch) | |
tree | 0fa85e0153425138be84f96fa020225afd86957b /pop3.c | |
parent | 8a2a861425f7835e83d5d868672ca946221fb1be (diff) | |
download | fetchmail-6452b2c571c21a1c396656a4b1ab10d62958782e.tar.gz fetchmail-6452b2c571c21a1c396656a4b1ab10d62958782e.tar.bz2 fetchmail-6452b2c571c21a1c396656a4b1ab10d62958782e.zip |
Tolerate flaky servers better.
svn path=/trunk/; revision=3204
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -99,6 +99,10 @@ int pop3_ok (int sock, char *argbuf) /* these are blessed by RFC 2449 */ || strstr(bufp,"[IN-USE]")||strstr(bufp,"[LOGIN-DELAY]")) ok = PS_LOCKBUSY; + else if ((strstr(bufp,"Service") + || strstr(bufp,"service")) + && (strstr(bufp,"unavailable"))) + ok = PS_SERVBUSY; else ok = PS_AUTHFAIL; /* |