~ubuntu-branches/ubuntu/raring/postfix/raring

« back to all changes in this revision

Viewing changes to README_FILES/SMTPD_PROXY_README

Tags: upstream-2.2.6
ImportĀ upstreamĀ versionĀ 2.2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
-------------------------------------------------------------------------------
4
4
 
5
 
WWAARRNNIINNGG WWAARRNNIINNGG WWAARRNNIINNGG
 
5
WWAARRNNIINNGG
6
6
 
7
7
The before-queue content filtering feature described in this document is
8
8
suitable only for low-traffic sites. See the "Pros and Cons" section below for
111
111
        # After-filter SMTP server. Receive mail from the content filter
112
112
        # on localhost port 10026.
113
113
        #
114
 
        :10026    inet  n       -       n       -        -      smtpd
 
114
        127.0.0.1:10026 inet n  -       n       -        -      smtpd
115
115
            -o smtpd_authorized_xforward_hosts=127.0.0.0/8
116
116
            -o smtpd_client_restrictions=
117
117
            -o smtpd_helo_restrictions=
145
145
 
146
146
The after-filter SMTP server is a new master.cf entry:
147
147
 
148
 
  * The ":10026" makes the after-filter SMTP server listen on the localhost
149
 
    address only, without exposing it to the network. NEVER expose the after-
150
 
    filter SMTP server to the Internet :-)
 
148
  * The "127.0.0.1:10026" makes the after-filter SMTP server listen on the
 
149
    localhost address only, without exposing it to the network. NEVER expose
 
150
    the after-filter SMTP server to the Internet :-)
151
151
 
152
152
  * The "-o smtpd_authorized_xforward_hosts=127.0.0.0/8" allows the after-
153
153
    filter SMTP server to receive remote SMTP client information from the
168
168
Parameters that control proxying:
169
169
 
170
170
  * smtpd_proxy_filter (syntax: host:port): The host and TCP port of the
171
 
    before-queue content filter. When no host or host: is specified, localhost
172
 
    is assumed.
 
171
    before-queue content filter. When no host or host: is specified here,
 
172
    localhost is assumed.
173
173
 
174
174
  * smtpd_proxy_timeout (default: 100s): Timeout for connecting to the before-
175
175
    queue content filter and for sending and receiving commands and data. All