aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgma <fgma@users.noreply.github.com>2019-10-17 13:57:26 +0200
committerfgma <fgma@users.noreply.github.com>2019-10-17 13:57:26 +0200
commitcc18ce9a47729ea8758da67cfe267b979f92ae05 (patch)
tree61f71afc6e15aa8ea59b92d5fc7cc8d2a7323d2e
parentsupport for mailaddrmap lookups in table-sqlite (diff)
downloadOpenSMTPD-extras-cc18ce9a47729ea8758da67cfe267b979f92ae05.tar.xz
OpenSMTPD-extras-cc18ce9a47729ea8758da67cfe267b979f92ae05.zip
new parameter added to manpage
-rw-r--r--extras/tables/table-sqlite/table-sqlite.59
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/tables/table-sqlite/table-sqlite.5 b/extras/tables/table-sqlite/table-sqlite.5
index d0963a6..8452aa8 100644
--- a/extras/tables/table-sqlite/table-sqlite.5
+++ b/extras/tables/table-sqlite/table-sqlite.5
@@ -98,6 +98,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 for looking up a 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: