aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgma <fgma@users.noreply.github.com>2019-10-18 19:58:37 +0200
committerfgma <fgma@users.noreply.github.com>2019-10-18 19:58:37 +0200
commit9e92f574d8210b7591ae2db7568a816d99e44a67 (patch)
treefaf2ba439cf88df87195d91aa2389317dd7ac460
parentsupport for mailaddrmap lookups in table-mysql (diff)
downloadOpenSMTPD-extras-9e92f574d8210b7591ae2db7568a816d99e44a67.tar.xz
OpenSMTPD-extras-9e92f574d8210b7591ae2db7568a816d99e44a67.zip
new parameter added to manpage
-rw-r--r--extras/tables/table-mysql/table-mysql.59
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/tables/table-mysql/table-mysql.5 b/extras/tables/table-mysql/table-mysql.5
index 157be90..3ed0da5 100644
--- a/extras/tables/table-mysql/table-mysql.5
+++ b/extras/tables/table-mysql/table-mysql.5
@@ -129,6 +129,15 @@ This is used to provide a query for looking up a domain. The question mark
is replaced with the appropriate data. For the domain it would be the
right hand side of the SMTP address. This expects one VARCHAR to be returned
with a matching domain name.
+.Pp
+
+.It Xo
+.Ic query_mailaddrmap
+.Ar SQL statement
+.Xc
+This is used to provide a query to look up senders. The question mark
+is replaced with the appropriate data. This expects one VARCHAR to be
+returned with the address the sender is allowed to send mails from.
.El
A generic SQL statement would be something like: