summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2013-07-19 12:20:58 +0000
committerEric Faurot <eric@cvs.openbsd.org>2013-07-19 12:20:58 +0000
commitbf763aa939e0cd6e4ba3eb2f862144b364de1086 (patch)
treefef647b67515250668ee318f1e6ac339146e9759 /usr.sbin/smtpd
parente69f8efeb851880afaf846c6c6f9ab4f0fb25226 (diff)
document "error:" aliases
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/aliases.58
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/aliases.5 b/usr.sbin/smtpd/aliases.5
index cc3c7208621..6556caaa597 100644
--- a/usr.sbin/smtpd/aliases.5
+++ b/usr.sbin/smtpd/aliases.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: aliases.5,v 1.5 2013/01/26 09:37:23 gilles Exp $
+.\" $OpenBSD: aliases.5,v 1.6 2013/07/19 12:20:57 eric Exp $
.\"
.\" Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 26 2013 $
+.Dd $Mdocdate: July 19 2013 $
.Dt ALIASES 5
.Os
.Sh NAME
@@ -80,6 +80,10 @@ will only use the part that precedes
.Sq +
as a
.Em key .
+.It Ar error : Ns Ar code Ar message
+A status code and message to return.
+The code must be in either 400 (TempFail) or 500 (PermFail) ranges.
+The message must be present and can be freely chosen.
.El
.Sh FILES
.Bl -tag -width "/etc/mail/aliasesXXX"