aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorSunil Shetye <sunilshetye@rocketmail.com>2012-05-09 13:40:12 +0530
committerMatthias Andree <matthias.andree@gmx.de>2012-05-10 17:25:41 +0200
commite08e5a23758e36466a64345bd56d515a4ada9552 (patch)
tree8641ab430a801e893e05cdfb9a6821867d0b13ef /imap.c
parent5698169f15c7d3a020f583f88fcc2c793d7a45c4 (diff)
downloadfetchmail-e08e5a23758e36466a64345bd56d515a4ada9552.tar.gz
fetchmail-e08e5a23758e36466a64345bd56d515a4ada9552.tar.bz2
fetchmail-e08e5a23758e36466a64345bd56d515a4ada9552.zip
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.
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
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);
}