aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index f0946e18..6de0ffbd 100644
--- a/driver.c
+++ b/driver.c
@@ -669,7 +669,8 @@ static int fetch_messages(int mailserver_socket, struct query *ctl,
else if (ctl->server.base_protocol->delete
&& !suppress_delete
&& ((msgcodes[num-1] >= 0 && !ctl->keep)
- || (msgcodes[num-1] == MSGLEN_OLD && ctl->flush)))
+ || (msgcodes[num-1] == MSGLEN_OLD||
+ msgcodes[num-1] == MSGLEN_TOOLARGE) && ctl->flush))
{
(*deletions)++;
if (outlevel > O_SILENT)