summaryrefslogtreecommitdiffstats
path: root/debian/postfix-add-filter.8
blob: a90634e32a2036e8186ba8c6e0838d7ca7c6fc3f (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
68
.TH POSTFIX-ADD-FILTER 8
.ad
.fi
.SH NAME
postfix-add-filter
\-
add filter service to Postfix master.cf
.SH "SYNOPSIS"
.na
.nf
\fBpostfix-add-filter\fR [\fIsmtp service name\fR...] [\fIsmtpd port\fR...]
.SH DESCRIPTION
.ad
.fi
The \fBpostfix-add-filter\fR(8) command adds an smtp service named
\fIsmtp service name\fR and an smtpd server listening on \fIsmtpd port\fR to
/etc/postfix/master.cf to facilitate integration of SMTP filters such as
amavisd-new or clamsmtp.  The configuration is based on the upstream
recommendations for amavisd-new 2.6.0.  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 \fIsmtp service name\fR or \fIsmtpd port\fR already appear 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-filter\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>