1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
.\"
.\" Copyright (c) 2014 Gilles Chehade <gilles@poolp.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
.Dd $Mdocdate: April 21 2024 $
.Dt TABLE_SOCKETMAP 5
.Os
.Sh NAME
.Nm table_socketmap
.Nd format description for smtpd socketmap tables
.Sh DESCRIPTION
This manual page documents the file format of "socketmap" tables used by the
.Xr smtpd 8
mail daemon.
.Pp
The format described here applies to tables as defined in
.Xr smtpd.conf 5 .
.Sh SOCKETMAP TABLE
A "socketmap" table uses a simple protocol.
The client sends a single-line request and the server sends a single-line reply.
.Pp
The table may be used for any kind of key-based lookup and replies are expected
to follow the formats described in
.Xr table 5 .
.Sh SEE ALSO
.Xr smtpd.conf 5 ,
.Xr table 5 ,
.Xr smtpctl 8 ,
.Xr smtpd 8
.Sh HISTORY
The first version of
.Nm
was written in 2014.
It was converted to the stdio table protocol in 2024.
.Sh AUTHORS
.An -nosplit
.Nm
was initially written by
.An Gilles Chehade Aq Mt gilles@poolp.org .
The conversion to the stdio protocol was done by
.An Omar Polo Aq Mt op@openbsd.org .
|