summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-09-12 18:51:00 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-09-12 18:51:00 +0000
commit5bcf5574ea5aee1f612e241bd283a63a391341a2 (patch)
treeed2144d8077b053f6b61f7a0fd400276d06c0af7
parent8dfa0055940c5802a08fb6539a57f7031460b1fd (diff)
- 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 ,