On Tue, May 15, 2012 at 09:29:47PM -0500, Chad M Stewart wrote:
> Is it possible for a policy server to get access to the message 
> contents? At least headers?

No. Headers are SMTP DATA.

> In reading http://www.postfix.org/SMTPD_POLICY_README.html it talks 
> about after client has sent data. However since the protocol is 
> name=value then I suspect the answer is no. Though i do see 

Right, no.

> queue_id is passed. Does that get me anything?

No. DATA itself is not passed to the policy service.

> What I want to accomplish is filtering on a few headers. I suspect 
> using milter might be the way to go, but the page above says policy 
> delegation is the preferred way to integrate things going forward.

A milter, content_filter or smtpd_proxy_filter are your choices.

http://www.postfix.org/MILTER_README.html
http://www.postfix.org/FILTER_README.html
http://www.postfix.org/SMTPD_PROXY_README.html
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to