The readme is referring to running 10 instances of the same content
filter in parallel to increase performance.

You appear to be using the "simple" content filter method, where
each filter reinjects mail to postfix by using the sendmail command.
The normal method of chaining multiple filters by cycling through
postfix won't work with "simple" filters (unless you set up a
separate postfix instance for each filter).

Since your OoO filter only applies to a single user, here's what I
recommend...

- modify your OOO script to pipe mail to your default content
filter, rather than to sendmail.

- use a check_recipient_access map that looks for the specific OOO
recipient and calls the filter for them.  Something like
recipi...@example.com   FILTER autoreply:dummy




  -- Noel Jones


On 10/15/2018 3:13 PM, Mike Schleif wrote:
> No parallel content_filter processing?
> 
> http://www.postfix.org/FILTER_README.html
> 
> Advanced content filter: sending unfiltered mail to the content filter
> 
> RE: "scan"
> This runs up to 10 content filters in parallel.
> 
> What am I missing?
> 
> ~ Mike
> 
> 
> On Mon, Oct 15, 2018 at 1:47 PM Wietse Venema <wie...@porcupine.org
> <mailto:wie...@porcupine.org>> wrote:
> 
>     Mike Schleif:
>     > CentOS Linux release 7.5.1804 (Core)
>     > mail_version = 2.10.1
>     >
>     > Several years funning one content filter:
>     > 127.0.0.1:10025 <http://127.0.0.1:10025>  inet  n  -     n   
>        -       -       smtpd
>     >   -o content_filter=filter:dummy
>     >  ...
>     >
>     > Now, we need an autoresponder for one incoming address. Trying
>     to use this:
>     >
>     
> https://www.howtoforge.com/how-to-set-up-a-postfix-autoresponder-with-autoresponse
>     >
>     > Tried adding second line to above:
>     > 127.0.0.1:10025 <http://127.0.0.1:10025>  inet  n  -     n   
>        -       -       smtpd
>     >   -o content_filter=filter:dummy
>     >   -o content_filter=autoresponder:dummy
> 
>     This will set content_filter to the last specified value. Postfix
>     parameters are scalars, not lists (list are specified with tables,
>     and there is no list-based variant of the content_filter variabe).
> 
>     What do you mean with parallel? There is only one mail flow, so
>     it can flow through only one filter at a time.
> 
>     Therefore, the answer depends on what you want: apply one of the
>     two filters or both filters (in series).
> 
>             Wietse
> 
> 

Reply via email to