aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index 304bec8f..ea3000c1 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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;
/*