diff options
author | 2009-12-14 23:17:04 +0000 | |
---|---|---|
committer | 2009-12-14 23:17:04 +0000 | |
commit | 680b20a3adead788e8034e7d531f72754c189a58 (patch) | |
tree | c9593fd8dc3c9dc368491e4e24c063ea8902fe6e | |
parent | Sanitize the code that resets the state when the LDC channel link state (diff) | |
download | wireguard-openbsd-680b20a3adead788e8034e7d531f72754c189a58.tar.xz wireguard-openbsd-680b20a3adead788e8034e7d531f72754c189a58.zip |
Handle 6yz code as permanent error.
-rw-r--r-- | usr.sbin/smtpd/bounce.c | 4 |
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; |