Nevermind, got it working after changing default_destination_recipient_limit=1.
Em seg., 27 de fev. de 2023 às 17:30, Rafael Azevedo <raf...@gmail.com> escreveu: > Wietse, > Also I've noticed that when the filter is applied it kinds of groups the > pipe process per domain. > > For example, I called my script for 3 recipients within same domain and > the postfix pipe called my script like "script.sh recipie...@domain1.com > recipie...@domain1.com and so" and because of that the filter is being > applied once for all messages within same domain. Does this makes sense?? > > Thanks > > > Em seg., 27 de fev. de 2023 às 15:44, Rafael Azevedo <raf...@gmail.com> > escreveu: > >> Thanks for the reply Wietse. >> >> This is my scenario: >> >> mail in > postfix policy_check -> content_filter -> deliver >> >> I noticed that when I'm using policy_check the action allows it to be >> delivered. >> After changing it I was able to send from policy_check to my footer pipe >> script. >> >> Is there a way to do another action like for example, calling a specific >> transport after the content filter finishes its job? >> >> For example: >> >> mail in > content_filter -> "action=filter transport:" -> deliver ? >> >> So I can route the message within the right transport after it goes to >> the content filter. >> >> I'm not sure it this is the right way to do it. >> >> Thanks once again. >> >> >> Em seg., 27 de fev. de 2023 às 15:19, Wietse Venema <wie...@porcupine.org> >> escreveu: >> >>> Wietse Venema: >>> > That is evendence that content_filter is not being used. Are you >>> > aware that your "smtpd -o content_filter=blah" will only process >>> > messages that arrive via SMTP port 25? >>> >>> Rafael Azevedo: >>> > Hi Wietse, thanks for the reply. >>> > >>> > Yes I am. And this message is being sent through port 25. >>> >>> Just to be clear, I was talking about **receiving*** the message >>> through port 25, not ***sending***. >>> >>> > There's one thing I have doubt about: will it process as the >>> after-queue >>> > content-filter? >>> >>> https://www.postfix.org/FILTER_README.html >>> >>> Title: Postfix After-Queue Content Filter >>> >>> >>> Wietse >>> >>