Zhang Huangbin:
>
> > On Jun 28, 2016, at 2:15 PM, Benning, Markus <[email protected]> wrote:
> >
> > Policy service is just a table lookup. From what restriction do you call
> > the policy lookup?
>
> Postfix is configured to call the policy server at protocol state RCPT
> (smtpd_recipient_restrictions) and END-OF-MESSAGE
> (smtpd_end_of_data_restrictions).
>
> I understand what a policy service does, just want to know whether
> or not Postfix parses the submitted mail message to get 'From:'
> address and send it to policy server. This is not mentioned in Postfix
> doc: http://www.postfix.org/SMTPD_POLICY_README.html
If it is not documented, then it is not supported.
To examine SMTP-level events AND message content, use one of the
methods described in MILTER_README, SMTPD_PROXY_README, or FILTER_README.
Wietse