aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index cfa4ab1f..c5ee171d 100644
--- a/driver.c
+++ b/driver.c
@@ -606,6 +606,14 @@ struct method *proto;
goto cleanUp;
}
+ /*
+ * At this point in flow of control, either we've bombed
+ * on a protocol error or had delivery refused by the SMTP
+ * server (unlikely -- I've never seen it) or we've seen
+ * `accepted for delivery' and the message is shipped.
+ * It's safe to delete the message on the server now.
+ */
+
/* maybe we delete this message now? */
if (protocol->delete
&& !queryctl->keep