diff options
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | imap.c | 6 | ||||
-rw-r--r-- | rfc822.c | 2 |
3 files changed, 12 insertions, 3 deletions
@@ -14,9 +14,12 @@ ------------------------------------------------------------------------------ fetchmail-4.3.3 () * Robert Hardy <rhardy@webcon.net>'s patch to use IMAP EXAMINE in check mode. -* Accommodate the PMDF IMAP server's pickiness about set syntax. +* Alexander Kourakos's patch for cleaner handling of group addresses. +* Fixed expansion of MDA %-escapes (thanks Wez Furlong <wjf103@york.ac.uk>). +* Deal with the possibility that IMAP NOOP issued on rescan might not get an + EXISTS response (thanks to Jonathan T. Agnew <jtagnew@amherst.edu>). -There are 263 people on fetchmail-friends and 68 on fetchmail-announce. +There are 272 people on fetchmail-friends and 73 on fetchmail-announce. fetchmail-4.3.2 (Wed Oct 22 20:30:14 EDT 1997) * More slow-UIDL patches from Wolfgang Wander. @@ -425,11 +425,17 @@ static int imap_getrange(int sock, if (!ok) expunge_uids(ctl); #endif /* IMAP_UID */ + count = -1; if (ok || gen_transact(sock, "NOOP")) { error(0, 0, "re-poll failed"); return(ok); } + else if (count == -1) /* no EXISTS response to NOOP */ + { + count = recent = 0; + unseen = -1; + } } else { @@ -88,7 +88,7 @@ const char *host; /* server hostname */ else if ((*from == ',' || HEADER_END(from) || from[1] == '(') && has_bare_name_part && !has_host_part - && last_nws != ';') + && last_nws != ';' && last_nws != ')') { int hostlen; |