aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-27 13:27:34 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-27 13:27:34 +0000
commitc2c96e332ee43b86cf3393a195af822f2f77bf05 (patch)
tree38569c1159e6fccaaa6618067c0e76d995140e55
parent75e4877cbd430ea55299d6b2ef676a6a377d1e86 (diff)
downloadfetchmail-c2c96e332ee43b86cf3393a195af822f2f77bf05.tar.gz
fetchmail-c2c96e332ee43b86cf3393a195af822f2f77bf05.tar.bz2
fetchmail-c2c96e332ee43b86cf3393a195af822f2f77bf05.zip
Use EXAMINE where appropriate.
svn path=/trunk/; revision=1529
-rw-r--r--NEWS4
-rw-r--r--imap.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 55cef55b..a8c2dfdc 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
* Generate bounce messages when delivery is refused. See RFC1891, RFC1892.
* Use the libmd functions for md5 under Free BSD? (Low priority.)
* More log levels?
+* Allow an explicit "append" option to specify what reqwrite appends?
Other TO-DO items:
@@ -11,6 +12,9 @@
Release Notes:
------------------------------------------------------------------------------
+fetchmail-4.3.3 ()
+* Robert Hardy <rhardy@webcon.net>'s patch to use IMAP EXAMINE in check mode.
+
fetchmail-4.3.2 (Wed Oct 22 20:30:14 EDT 1997)
* More slow-UIDL patches from Wolfgang Wander.
* Yet another attempt to fix IMAP-K4. This one, my beta-testers say, works.
diff --git a/imap.c b/imap.c
index 043fe5e3..873aaffc 100644
--- a/imap.c
+++ b/imap.c
@@ -433,7 +433,10 @@ static int imap_getrange(int sock,
}
else
{
- ok = gen_transact(sock, "SELECT %s", folder ? folder : "INBOX");
+ if (!check_only)
+ ok = gen_transact(sock, "SELECT %s", folder ? folder : "INBOX");
+ else
+ ok = gen_transact(sock, "EXAMINE %s", folder ? folder : "INBOX");
if (ok != 0)
{
error(0, 0, "mailbox selection failed");