aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-04-01 03:16:15 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-04-01 03:16:15 +0000
commitd3379342f934a71578a9064120ffb4d3f210759d (patch)
tree8965a805e5dd81ce9bf432d1d93b2ccce04e26ac /pop3.c
parentc53468815d594da86dfe0ff6c4625d144dc55a1a (diff)
downloadfetchmail-d3379342f934a71578a9064120ffb4d3f210759d.tar.gz
fetchmail-d3379342f934a71578a9064120ffb4d3f210759d.tar.bz2
fetchmail-d3379342f934a71578a9064120ffb4d3f210759d.zip
Added SpryNet support.
svn path=/trunk/; revision=2421
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pop3.c b/pop3.c
index f0f8fadb..6a33c2f2 100644
--- a/pop3.c
+++ b/pop3.c
@@ -575,14 +575,15 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
#endif /* SDPS_ENABLE */
/*
- * Though the POP RFCs don't document this fact, on every POP3 server
- * I know of messages are marked "seen" only at the time the OK
- * response to a RETR is issued.
+ * Though the POP RFCs don't document this fact, on almost every
+ * POP3 server I know of messages are marked "seen" only at the
+ * time the OK response to a RETR is issued.
*
* This means we can use TOP to fetch the message without setting its
* seen flag. This is good! It means that if the protocol exchange
* craps out during the message, it will still be marked `unseen' on
- * the server.
+ * the server. (Exception: in early 1999 SpryNet's POP3 servers were
+ * reported to mark messages seen on a TOP fetch.)
*
* However...*don't* do this if we're using keep to suppress deletion!
* In that case, marking the seen flag is the only way to prevent the
@@ -601,8 +602,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
*
* The line count passed (99999999) is the maximum value CompuServe will
* accept; it's much lower than the natural value 2147483646 (the maximum
- * twos-complement signed 32-bit integer minus 1)
- */
+ * twos-complement signed 32-bit integer minus 1) */
if (ctl->keep || ctl->fetchall)
gen_send(sock, "RETR %d", number);
else