aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS7
-rw-r--r--imap.c6
-rw-r--r--rfc822.c2
3 files changed, 12 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 81662d2b..e735ad9a 100644
--- a/NEWS
+++ b/NEWS
@@ -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.
diff --git a/imap.c b/imap.c
index 4729186e..da0ed018 100644
--- a/imap.c
+++ b/imap.c
@@ -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
{
diff --git a/rfc822.c b/rfc822.c
index 3bbad5c4..0081cff2 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -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;