Hello Thanks for a quick reply. I will try the way you suggested. I did try changing the *_destination_recipeint_limit to 1 but it still invoked the script the same number of times as number of recipients.
Thanks Arshad On Thu, Aug 30, 2018 at 7:41 PM Wietse Venema <wie...@porcupine.org> wrote: > > Arshad Khan: > > Hello > > > > I have been using Postfix 2.6.6 on CentOS 6 which I have configured > > with an 'After-queue content filter'. The filter gets invoked when an > > email is received by Postfix. The content filter does some processing > > and pass on the message to another server from where the message is > > sent to the recipients. > > > > Recently I built version 2.11.11 and configured it to use the same > > content filter. However, now Postfix is invoking the content filter > > for each of the recipient. I would like it to invoke the filter once > > per message and not per recipient. What configuration setting should I > > alter to get the desired behaviour? > > What settings did you change from Postfix 2.6.6 to 2.11.11? > Try starting with the old configuration instead of building a > new configuration from scratch and missing something. > > Look for *_destination_recipient_limit settings. With a value of > 1, there is one delivery per recipient. > > Wietse