summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-03-22 21:47:42 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-03-22 21:47:42 +0000
commite4e884faa7f5a04d937282113681d97a355ed2af (patch)
tree3a6d857f26577f1bfc2b323750950b17db2c1166
parent9aba085b920ab3b8cdd1085db917145785ca24cf (diff)
Avoid clearing first_delivery flag on the initial half of a 2-phase queue run
-rw-r--r--src/src/deliver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c
index 29e2b719d..ec39cf15e 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -8416,7 +8416,7 @@ else if (addr_defer != (address_item *)(+1))
/* If this was a first delivery attempt, unset the first time flag, and
ensure that the spool gets updated. */
- if (f.deliver_firsttime)
+ if (f.deliver_firsttime && !f.queue_2stage)
{
f.deliver_firsttime = FALSE;
update_spool = TRUE;