summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-04-20 20:09:41 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-04-20 20:09:41 +0000
commit614d8ec6c4a616a9b1bc7d885600b4c909197084 (patch)
tree9c5a7688a8d108e7bf9b604a8b7baad7e231cb13 /usr.sbin
parent5d969c87da08e829262bfe79882db0853b92f1ed (diff)
Document the ``alias <map>'' parameter.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.conf.517
1 files changed, 14 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.conf.5 b/usr.sbin/smtpd/smtpd.conf.5
index f6204d1a0b1..3e098d5bfdd 100644
--- a/usr.sbin/smtpd/smtpd.conf.5
+++ b/usr.sbin/smtpd/smtpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: smtpd.conf.5,v 1.27 2010/04/20 19:35:28 jacekm Exp $
+.\" $OpenBSD: smtpd.conf.5,v 1.28 2010/04/20 20:09:40 jacekm Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\" Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
@@ -203,7 +203,10 @@ Next comes the selection based on the domain the message is sent to:
.Bl -tag -width Ds
.It Ic for all
Make the rule match regardless of the domain it is sent to.
-.It Ic for domain Ar domain
+.It Xo
+.Ic for domain Ar domain
+.Op Ic alias Ar map
+.Xc
This rule applies to mail destined for the specified
.Ar domain .
This parameter supports the
@@ -213,7 +216,15 @@ so that a single rule for all sub-domains can be used, for example:
.Bd -literal -offset indent
accept for domain "*.example.com" deliver to mbox
.Ed
-.It Ic for local
+.Pp
+If specified,
+.Ar map
+is used for looking up alternative destinations for addresses in this
+.Ar domain .
+.It Xo
+.Ic for local
+.Op Ic alias Ar map
+.Xc
This rule applies to mail destined to
.Dq localhost
and to the server's fully qualified domain name,