summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-12-14 23:17:05 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-12-14 23:17:05 +0000
commit0c37ab04e7317a5fa1b20e3ca1eeb88d1672e58d (patch)
tree46be7303a4f37c32b7eaeec47a4173fc6d163d82
parent6f88cc9f62f2daf3baf359d75837cf5dc5347888 (diff)
Handle 6yz code as permanent error.
-rw-r--r--usr.sbin/smtpd/bounce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/bounce.c b/usr.sbin/smtpd/bounce.c
index 95813eea19c..e473103270a 100644
--- a/usr.sbin/smtpd/bounce.c
+++ b/usr.sbin/smtpd/bounce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bounce.c,v 1.15 2009/12/14 18:21:53 jacekm Exp $ */
+/* $OpenBSD: bounce.c,v 1.16 2009/12/14 23:17:04 jacekm Exp $ */
/*
* Copyright (c) 2009 Gilles Chehade <gilles@openbsd.org>
@@ -150,7 +150,7 @@ out:
if (*ep == '2')
queue_remove_envelope(&cc->m);
else {
- if (*ep == '5')
+ if (*ep == '5' || *ep == '6')
cc->m.status = S_MESSAGE_PERMFAILURE;
else
cc->m.status = S_MESSAGE_TEMPFAILURE;