~ubuntu-branches/ubuntu/hardy/postfix/hardy-security

« back to all changes in this revision

Viewing changes to man/man5/regexp_table.5

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2007-04-15 16:00:44 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070415160044-xl1vjlhf9mdmf43a
Tags: 2.4.0-3
Have preinst get user approval before installing (and being broken) on a
pre-2.6 kernel.  Closes: #417530

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
.SH "SYNOPSIS"
9
9
.na
10
10
.nf
11
 
\fBpostmap -fq "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
 
11
\fBpostmap -q "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
12
12
 
13
 
\fBpostmap -fq - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
 
13
\fBpostmap -q - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
14
14
.SH DESCRIPTION
15
15
.ad
16
16
.fi
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.
20
20
 
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
24
 
result is returned.
 
23
list of patterns. When a match is found, the corresponding
 
24
result is returned and the search is terminated.
25
25
 
26
26
To find out what types of lookup tables your Postfix system
27
27
supports use the "\fBpostconf -m\fR" command.
28
28
 
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.
 
31
.SH "COMPATIBILITY"
 
32
.na
 
33
.nf
 
34
.ad
 
35
.fi
 
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.
31
39
.SH "TABLE FORMAT"
32
40
.na
33
41
.nf