~ubuntu-branches/ubuntu/maverick/postfix/maverick-security

« back to all changes in this revision

Viewing changes to README_FILES/FILTER_README

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Wietse Venema, LaMont Jones
  • Date: 2009-06-03 14:17:08 UTC
  • mfrom: (1.1.22 upstream)
  • Revision ID: james.westby@ubuntu.com-20090603141708-o9u59xlor7nmd2x1
[Wietse Venema]

* New upstream release: 2.6.2~rc1

[LaMont Jones]

* move postfix-add-{filter,policy} manpages to section 8, and deliver
* provide: default-mta on ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
    store its temporary files.
185
185
 
186
186
  * Configure Postfix to deliver mail to the content filter with the pipe(8)
187
 
    delivery agent.
 
187
    delivery agent (see the pipe(8) manpage for a description of the command
 
188
    syntax below).
188
189
 
189
190
    /etc/postfix/master.cf:
190
191
      # =============================================================
192
193
      #               (yes)   (yes)   (yes)   (never) (100)
193
194
      # =============================================================
194
195
      filter    unix  -       n       n       -       10      pipe
195
 
        flags=Rq user=filter argv=/path/to/script -f ${sender} -- ${recipient}
 
196
        flags=Rq user=filter null_sender=
 
197
        argv=/path/to/script -f ${sender} -- ${recipient}
196
198
 
197
199
    This runs up to 10 content filters in parallel. Instead of a limit of 10
198
200
    concurrent processes, use whatever process limit is feasible for your
199
201
    machine. Content inspection software can gobble up a lot of system
200
202
    resources, so you don't want to have too much of it running at the same
201
 
    time.
 
203
    time. The empty null_sender setting is required with Postfix 2.3 and later.
202
204
 
203
205
  * To turn on content filtering for mail arriving via SMTP only, append "-
204
206
    o content_filter=filter:dummy" to the master.cf entry that defines the