Joseph L. Casale wrote:
Is there any way to configure postfix to execute a shell script
as the action on a content inspection class?

Thanks!
jlc

No. Probably the closest you can get is a FILTER action that will route the mail thorough a custom pipe transport that calls a script. Note FILTER takes effect after the mail has been accepted, not during SMTP.

Other things you may want to investigate are various milters and the postfix policy server interface.
http://www.postfix.org/MILTER_README.html
http://www.postfix.org/SMTPD_POLICY_README.html

If that doesn't supply what you need, a smtp transparent proxy is the next choice.

  -- Noel Jones

Reply via email to