> On Aug 30, 2018, at 9:56 PM, Arshad Khan <khan.m.ars...@gmail.com> wrote:
> 
> Apologies for not being clear in my earlier message.
> 
> What I want is for the content filter to be invoked once per message and not 
> per recipient. I tried setting various values for 
> *_destination_recipient_limit (including 1) to get the desired behavior. But 
> no matter what value I set, Postfix still invokes the filter for each 
> recipient. Here are the settings for filter in master.cf:
> 
> 192.168.1.10:10025  inet    n   -   n   -   -   smtpd
>     -o content_filter=my_filter

Change that to:

        -o content_filter=my_filter:localhost

Otherwise, the envelope is split by recipient domain, message
envelopes are split by destination nexthop when the recipient
limit is > 1 (and by user when not).

-- 
        Viktor.

Reply via email to