summaryrefslogtreecommitdiff
path: root/gnu/dist/postfix/html/postmap.1.html
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2002-02-02 23:10:24 +0000
committerperry <perry@NetBSD.org>2002-02-02 23:10:24 +0000
commit6f59dc7aebbf705da79e61ef3fd24b48ed99d327 (patch)
treec6e9fd356c8aac78b966a9dd53f5d0d14d5e62cd /gnu/dist/postfix/html/postmap.1.html
parentecf43984517b4cfb837e78958769cc8207ea5288 (diff)
Postfix 1.1.2
(Postfix releases are now numbered -- 1.1.2 means 1.1, patchlevel 2.) Lots of new features, same great security.
Diffstat (limited to 'gnu/dist/postfix/html/postmap.1.html')
-rw-r--r--gnu/dist/postfix/html/postmap.1.html100
1 files changed, 32 insertions, 68 deletions
diff --git a/gnu/dist/postfix/html/postmap.1.html b/gnu/dist/postfix/html/postmap.1.html
index 77833681c9d..92581834245 100644
--- a/gnu/dist/postfix/html/postmap.1.html
+++ b/gnu/dist/postfix/html/postmap.1.html
@@ -1,15 +1,12 @@
<html> <head> </head> <body> <pre>
-
-
POSTMAP(1) POSTMAP(1)
-
<b>NAME</b>
postmap - Postfix lookup table management
<b>SYNOPSIS</b>
- <b>postmap</b> [<b>-Ninrvw</b>] [<b>-c</b> <i>config_dir</i>] [<b>-d</b> <i>key</i>] [<b>-q</b> <i>key</i>]
+ <b>postmap</b> [<b>-Nfinrvw</b>] [<b>-c</b> <i>config_dir</i>] [<b>-d</b> <i>key</i>] [<b>-q</b> <i>key</i>]
[<i>file_type</i>:]<i>file_name</i> ...
<b>DESCRIPTION</b>
@@ -19,6 +16,10 @@ POSTMAP(1) POSTMAP(1)
<b>makemap</b> <i>file_type</i> <i>file_name</i> &lt; <i>file_name</i>
+ If the result files do not exist they will be created with
+ the same group and other read permissions as the source
+ file.
+
While the table update is in progress, signal delivery is
postponed, and an exclusive, advisory, lock is placed on
the entire table, in order to avoid surprises in spectator
@@ -26,15 +27,17 @@ POSTMAP(1) POSTMAP(1)
The format of a lookup table input file is as follows:
- <b>o</b> Blank lines are ignored. So are lines beginning
- with `#'.
-
<b>o</b> A table entry has the form
<i>key</i> whitespace <i>value</i>
- <b>o</b> A line that starts with whitespace continues the
- preceding line.
+ <b>o</b> Empty lines and whitespace-only lines are ignored,
+ as are lines whose first non-whitespace character
+ is a `#'.
+
+ <b>o</b> A logical line starts with non-whitespace text. A
+ line that starts with whitespace continues a logi-
+ cal line.
The <i>key</i> and <i>value</i> are processed as is, except that sur-
rounding white space is stripped off. Unlike with Postfix
@@ -56,20 +59,16 @@ POSTMAP(1) POSTMAP(1)
directory.
<b>-d</b> <i>key</i> Search the specified maps for <i>key</i> and remove one
- entry per map. The exit status is non-zero if the
- requested information was not found.
-
-
-
-
- 1
-
-
-
+ entry per map. The exit status is zero when the
+ requested information was found.
+ If a key value of <b>-</b> is specified, the program reads
+ key values from the standard input stream. The exit
+ status is zero when at least one of the requested
+ keys was found.
-POSTMAP(1) POSTMAP(1)
-
+ <b>-f</b> Do not fold the lookup key to lower case while cre-
+ ating or querying a map.
<b>-i</b> Incremental mode. Read entries from standard input
and do not truncate an existing database. By
@@ -83,8 +82,14 @@ POSTMAP(1) POSTMAP(1)
<b>-q</b> <i>key</i> Search the specified maps for <i>key</i> and print the
first value found on the standard output stream.
- The exit status is non-zero if the requested infor-
- mation was not found.
+ The exit status is zero when the requested informa-
+ tion was found.
+
+ If a key value of <b>-</b> is specified, the program reads
+ key values from the standard input stream and
+ prints one line of <i>key</i> <i>value</i> output for each key
+ that was found. The exit status is zero when at
+ least one of the requested keys was found.
<b>-r</b> When updating a table, do not warn about duplicate
entries; silently replace them.
@@ -125,28 +130,12 @@ POSTMAP(1) POSTMAP(1)
<b>DIAGNOSTICS</b>
Problems and transactions are logged to the standard error
stream. No output means no problems. Duplicate entries are
-
-
-
- 2
-
-
-
-
-
-POSTMAP(1) POSTMAP(1)
-
-
skipped and are flagged with a warning.
<b>postmap</b> terminates with zero exit status in case of suc-
cess (including successful <b>postmap</b> <b>-q</b> lookup) and termi-
nates with non-zero exit status in case of failure.
-<b>BUGS</b>
- The "delete key" support is limited to one delete opera-
- tion per command invocation.
-
<b>ENVIRONMENT</b>
<b>MAIL</b><i>_</i><b>CONFIG</b>
Directory with Postfix configuration files.
@@ -156,12 +145,12 @@ POSTMAP(1) POSTMAP(1)
<b>CONFIGURATION</b> <b>PARAMETERS</b>
<b>database</b><i>_</i><b>type</b>
- Default output database type. On many UNIX sys-
- tems, the default database type is either <b>hash</b> or
+ Default output database type. On many UNIX sys-
+ tems, the default database type is either <b>hash</b> or
<b>dbm</b>.
<b>LICENSE</b>
- The Secure Mailer license must be distributed with this
+ The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>
@@ -170,31 +159,6 @@ POSTMAP(1) POSTMAP(1)
P.O. Box 704
Yorktown Heights, NY 10598, USA
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
+ 1
</pre> </body> </html>