summaryrefslogtreecommitdiffstats
path: root/debian/postfix-add-policy.8
blob: 7a4cec999f66e0717f86b8e50d215e2f96d69ec0 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH POSTFIX-ADD-POLICY 8
.ad
.fi
.SH NAME
postfix-add-policy
\-
add policy service to Postfix master.cf
.SH "SYNOPSIS"
.na
.nf
\fBpostfix-add-policy\fR [\fIpolicy name\fR...] [\fIusername\fR...] [\fIargv\fR...]
.SH DESCRIPTION
.ad
.fi
The \fBpostfix-add-policy\fR(8) command adds an smtp policy server named
\fIpolicy name\fR running using \fIusername\fR and called as \fIargv\fR to
/etc/postfix/master.cf to facilitate integration of SMTP policy servers such as
postgrey or postfix-policyd-spf-perl.  The configuration is based on the Postfix
SMTPD_POLICY_README.  Administrators should verify it is appropriate for their
requirements.

The original file is copied prior to modification and left in /etc/postfix to
make it possible to revert changes easily.

Available in the Debian package for Postfix version 2.5.3 and later.

.SH DIAGNOSTICS
.ad
.fi
If the given \fIpolicy name\fR  already appears in the master.cf, a message will
be printed to standard out and master.cf will not be modified.

.SH "ENVIRONMENT"
.na
.nf
.ad
.fi
.IP \fBMAIL_CONFIG\fR
Directory with Postfix configuration files.

The \fBpostfix-add-policy\fR(8) command should use this, but it currently
doesn't.  It is hard coded to /etc/postfix.  This should be changed.
.SH "CONFIGURATION PARAMETERS"
.na
.nf
.ad
.fi
None
.SH "FILES"
.na
.nf
/etc/postfix/master.cf
.SH "SEE ALSO"
.na
.nf
postconf(5), Postfix configuration
.SH "LICENSE"
.na
.nf
.ad
.fi
This software is licensed under the MIT open source license.
.SH "AUTHOR(S)"
.na
.nf
Scott Kitterman
<scott@kitterman.com>