There is a way to check BCC recipient using content_filter= in postfix master? The point is I have a script called "tool" which I called from postfix like:
flags=Rq user=filter argv=/usr/local/bin/tool -f ${sender} -- ${recipient}
And all works fine except in recipient I have all recipients (to, cc and bcc). I just need to do something at my script with those in BCC.
So right now when I print my ARGV I see the list of all of them. I tried to do it using Ruby script and mikel/mail gem, but as I see there is no option to simply check bcc.
How can I pass BCC recipients to my script? Or how can I read them in my script?