From e37237500eed0160b7dcff141acf2472fa5ac991 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 5 Sep 1997 15:45:34 +0000 Subject: Have AUTO mode croak on SMTP error. svn path=/trunk/; revision=1306 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetchmail.c b/fetchmail.c index 2d862f84..1f136098 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -780,7 +780,7 @@ static int query_host(struct query *ctl) for (i = 0; i < sizeof(autoprobe)/sizeof(autoprobe[0]); i++) { ctl->server.protocol = autoprobe[i]; - if ((st = query_host(ctl)) == PS_SUCCESS || st == PS_NOMAIL || st == PS_AUTHFAIL || st == PS_LOCKBUSY) + if ((st = query_host(ctl)) == PS_SUCCESS || st == PS_NOMAIL || st == PS_AUTHFAIL || st == PS_LOCKBUSY || st == PS_SMTP) break; } ctl->server.protocol = P_AUTO; -- cgit v1.2.3