From dd85ece875ddc33130bf7526bae9ff3c1eaf76e7 Mon Sep 17 00:00:00 2001 From: gshapiro Date: Tue, 14 Jun 2011 03:55:17 +0000 Subject: Import sendmail 8.14.5 --- src/envelope.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/envelope.c') diff --git a/src/envelope.c b/src/envelope.c index 022c3ca..18defd2 100644 --- a/src/envelope.c +++ b/src/envelope.c @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: envelope.c,v 8.310 2009/12/18 17:08:01 ca Exp $") +SM_RCSID("@(#)$Id: envelope.c,v 8.312 2010/02/03 16:36:40 ca Exp $") /* ** CLRSESSENVELOPE -- clear session oriented data in an envelope @@ -246,12 +246,14 @@ dropenvelope(e, fulldrop, split) e->e_flags |= EF_FATALERRS|EF_CLRQUEUE; } + e->e_flags &= ~EF_QUEUERUN; for (q = e->e_sendqueue; q != NULL; q = q->q_next) { if (QS_IS_UNDELIVERED(q->q_state)) queueit = true; + /* see if a notification is needed */ if (bitset(QPINGONFAILURE, q->q_flags) && ((IS_MSG_ERR(msg_timeout) && -- cgit v1.1