summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2012-09-12 18:50:59 +0000
committergilles <gilles@openbsd.org>2012-09-12 18:50:59 +0000
commitf8583070c8b66d7b31d686739f01e80dfac25e89 (patch)
tree6b51eb42a881b4fd6edcf322cec782f655faf8c1
parentmissed a word :-) (diff)
downloadwireguard-openbsd-f8583070c8b66d7b31d686739f01e80dfac25e89.tar.xz
wireguard-openbsd-f8583070c8b66d7b31d686739f01e80dfac25e89.zip
- document that aliases lookups are folded to lowercase
- also document that we strip the address extensions before aliases lookups
-rw-r--r--usr.sbin/smtpd/aliases.59
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/aliases.5 b/usr.sbin/smtpd/aliases.5
index 61a927e9cb4..92045fdc74b 100644
--- a/usr.sbin/smtpd/aliases.5
+++ b/usr.sbin/smtpd/aliases.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: aliases.5,v 1.1 2012/09/12 17:53:32 gilles Exp $
+.\" $OpenBSD: aliases.5,v 1.2 2012/09/12 18:50:59 gilles Exp $
.\"
.\" Copyright (c) 2012 Gilles Chehade <gilles@openbsd.org>
.\"
@@ -70,6 +70,13 @@ is a comment delimiter; anything placed after it is discarded.
Aliasing is done under the privileges of the daemon's unprivileged
account.
This should be kept in mind when aliasing a command.
+.Pp
+.Em key
+is always folded to lowercase before aliases lookups to ensure that
+there cannot be ambiguity. Also, if an address extension is appended
+the user-part of an email, it is stripped so that user+ext@example.com
+will only use the part that precedes + as a
+.Em key .
.Sh SEE ALSO
.Xr smtpd.conf 5 ,
.Xr makemap 8 ,