Is there any chance of the policy server in the future adding a feature to include the mail body in the attributes?

No. If you want to inspect the body prior to accepting the message into
the queue, use the existing smtpd_proxy_filter and/or milter features.

That is unfortunate. I was hoping for a simple solution for filtering 2 or 3 keywords in the body based on sender or recipient without having to write an entire milter daemon from scratch. Because, well you know...

"Policy delegation is now the preferred method for adding policies to Postfix. It's much easier to develop a new feature in few lines of Perl, Python, Ruby, or TCL, than trying to do the same in C code."

And im not a fan of proxy filter, it feels like an expensive and cumbersome work around solution.

Reply via email to