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

« back to all changes in this revision

Viewing changes to html/FILTER_README.html

  • 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:
356
356
is supposed to store its temporary files. </p>
357
357
 
358
358
<li> <p> Configure Postfix to deliver mail to the content filter
359
 
with the <a href="pipe.8.html">pipe(8)</a> delivery agent. </p>
 
359
with the <a href="pipe.8.html">pipe(8)</a> delivery agent (see the <a href="pipe.8.html">pipe(8)</a> manpage for a
 
360
description of the command syntax below). </p>
360
361
 
361
362
<pre>
362
363
/etc/postfix/<a href="master.5.html">master.cf</a>:
365
366
  #               (yes)   (yes)   (yes)   (never) (100)
366
367
  # =============================================================
367
368
  filter    unix  -       n       n       -       10      pipe
368
 
    flags=Rq user=filter argv=/path/to/script -f ${sender} -- ${recipient}
 
369
    flags=Rq user=filter null_sender=
 
370
    argv=/path/to/script -f ${sender} -- ${recipient}
369
371
</pre>
370
372
 
371
373
<p> This runs up to 10 content filters in parallel. Instead of a
372
374
limit of 10 concurrent processes, use whatever process limit is
373
375
feasible for your machine.  Content inspection software can gobble
374
376
up a lot of system resources, so you don't want to have too much
375
 
of it running at the same time. </p>
 
377
of it running at the same time. The empty null_sender setting is
 
378
required with Postfix 2.3 and later. </p>
376
379
 
377
380
<li> <p> To turn on content filtering for mail arriving via SMTP
378
381
only, append "-o <a href="postconf.5.html#content_filter">content_filter</a>=filter:dummy" to the <a href="master.5.html">master.cf</a>