diff options
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -711,6 +711,13 @@ static int pop3_logout(int sock, struct query *ctl) { int ok; + /* + * Just in case the server marks messages deleted when seen. + * Yes, this has been reported, in the MercuryP/NLM server. + */ + if (ctl->keep) + gen_transact(sock, "RSET"); + ok = gen_transact(sock, "QUIT"); if (!ok) expunge_uids(ctl); |