summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-12-14 18:16:02 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-12-14 18:16:02 +0000
commit6aaee87619dad173d0bf1228cee7ee184a118ec5 (patch)
tree03a32929bed422eccecf63e8154aaf4a3f7e1605 /usr.sbin
parent7674533e6a2badacb685368c66008f13385558d1 (diff)
Clear S_MESSAGE_PERMFAILURE when creating the bounce message. Makes the
bounce mails visible in mailq output.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/queue_shared.c3
1 files changed, 2 insertions, 1 deletions
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 <gilles@openbsd.org>
@@ -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;