From 6aaee87619dad173d0bf1228cee7ee184a118ec5 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Mon, 14 Dec 2009 18:16:02 +0000 Subject: Clear S_MESSAGE_PERMFAILURE when creating the bounce message. Makes the bounce mails visible in mailq output. --- usr.sbin/smtpd/queue_shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/smtpd') diff --git a/usr.sbin/smtpd/queue_shared.c b/usr.sbin/smtpd/queue_shared.c index eecfa600f7a..2ae6486af56 100644 --- a/usr.sbin/smtpd/queue_shared.c +++ b/usr.sbin/smtpd/queue_shared.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_shared.c,v 1.26 2009/11/08 21:40:05 gilles Exp $ */ +/* $OpenBSD: queue_shared.c,v 1.27 2009/12/14 18:16:01 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -329,6 +329,7 @@ bounce_record_message(struct message *messagep) mbounce = *messagep; mbounce.type = T_BOUNCE_MESSAGE; + mbounce.status &= ~S_MESSAGE_PERMFAILURE; if (! bounce_create_layout(msgid, messagep)) return 0; -- cgit v1.2.3