From 88dcfe08b97bb51edd6c1b8a9d20aa5e84012565 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 25 Jul 2001 09:56:00 +0000 Subject: Almost ready to ship. svn path=/trunk/; revision=3422 --- pop3.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 83abbaf3..f6e5ddef 100644 --- a/pop3.c +++ b/pop3.c @@ -711,13 +711,23 @@ static int pop3_logout(int sock, struct query *ctl) { int ok; +#ifdef __UNUSED__ /* - * Just in case the server marks messages deleted when seen. - * Yes, this has been reported, in the MercuryP/NLM server. - * It's even legal under RFC 1939 (section 8) as a site policy. + * We used to do this in case the server marks messages deleted when seen. + * (Yes, this has been reported, in the MercuryP/NLM server. + * It's even legal under RFC 1939 (section 8) as a site policy.) + * It interacted badly with UIDL, though. Thomas Zajic wrote: + * "Running 'fetchmail -F -v' and checking the logs, I found out + * that fetchmail did in fact flush my mailbox properly, but sent + * a RSET just before sending QUIT to log off. This caused the + * POP3 server to undo/forget about the previous DELEs, resetting + * my mailbox to its original (ie. unflushed) state. The + * ~/.fetchids file did get flushed though, so the next time + * fetchmail was run it saw all the old messages as new ones ..." */ - if (ctl->keep) + if (ctl->keep) gen_transact(sock, "RSET"); +#endif /* __UNUSED__ */ ok = gen_transact(sock, "QUIT"); if (!ok) -- cgit v1.2.3