From e08e5a23758e36466a64345bd56d515a4ada9552 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 9 May 2012 13:40:12 +0530 Subject: fetchmail workaround for a bug in Microsoft Exchange treat missing header in response to a FETCH command as a transient error (Reported by John Connett) if there are too many transient errors, log it. --- imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index 93f05f2c..cb87eda5 100644 --- a/imap.c +++ b/imap.c @@ -1182,7 +1182,7 @@ static int imap_fetch_headers(int sock, struct query *ctl,int number,int *lenp) /* an unexpected tagged response */ if (outlevel > O_SILENT) report(stderr, GT_("Incorrect FETCH response: %s.\n"), buf); - return(PS_ERROR); + return(PS_TRANSIENT); } return(ok); } -- cgit v1.2.3