aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-01-22 01:15:18 +0000
committerMatthias Andree <matthias.andree@gmx.de>2010-01-22 01:15:18 +0000
commit8b0814aa4eca15297eb1ffe7c30ee22bb8c3a7af (patch)
treeed3d0357c20198172e0fdfa48423231af1b87d7f /fetchmail.h
parent7c56088bb590f98f8bcfb1e155bf66862378368e (diff)
downloadfetchmail-8b0814aa4eca15297eb1ffe7c30ee22bb8c3a7af.tar.gz
fetchmail-8b0814aa4eca15297eb1ffe7c30ee22bb8c3a7af.tar.bz2
fetchmail-8b0814aa4eca15297eb1ffe7c30ee22bb8c3a7af.zip
Fix IMAP IDLE and untagged (* ...) response parser, by Sunil Shetye.
The IMAP client no longer skips messages from several IMAP servers including Dovecot if fetchmail's "idle" is in use. Causes were that fetchmail (a) ignored some untagged responses when it should not (b) relied on EXISTS messages in response to EXPUNGE, which aren't mandated by RFC-3501 (the IMAP standard) and aren't sent by Dovecot either. Fix by Sunil Shetye (the fix also consolidates IMAP response handling, improving overall robustness of the IMAP client), bug report and testing by Matt Doran, with further hints from Timo Sirainen. svn path=/branches/BRANCH_6-3/; revision=5459
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 702fcae5..c459bdca 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -145,6 +145,7 @@ char *strstr(const char *, const char *);
#define PS_RETAINED 26 /* message retained (internal use) */
#define PS_REPOLL 28 /* repoll immediately with changed parameters (internal use) */
#define PS_IDLETIMEOUT 29 /* timeout on imap IDLE (internal use) */
+#define PS_UNTAGGED 30 /* untagged response on imap command (internal use) */
/* output noise level */
#define O_SILENT 0 /* mute, max squelch, etc. */