11
\fBpostmap -fq "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
11
\fBpostmap -q "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
13
\fBpostmap -fq - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
13
\fBpostmap -q - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
17
17
The Postfix mail system uses optional tables for address
18
rewriting or mail routing. These tables are usually in
19
\fBdbm\fR or \fBdb\fR format.
18
rewriting, mail routing, or access control. These tables
19
are usually in \fBdbm\fR or \fBdb\fR format.
21
21
Alternatively, lookup tables can be specified in POSIX regular
22
22
expression form. In this case, each input is compared against a
23
list of patterns, and when a match is found the corresponding
23
list of patterns. When a match is found, the corresponding
24
result is returned and the search is terminated.
26
26
To find out what types of lookup tables your Postfix system
27
27
supports use the "\fBpostconf -m\fR" command.
29
To test lookup tables, use the "\fBpostmap -fq\fR" command as
30
described in the SYNOPSIS above.
29
To test lookup tables, use the "\fBpostmap -q\fR" command
30
as described in the SYNOPSIS above.
36
With Postfix version 2.2 and earlier specify "\fBpostmap
37
-fq\fR" to query a table that contains case sensitive
38
patterns. Patterns are case insensitive by default.