i am working on a policy Daemon like policyD
i started reading : www.postfix.org/SMTPD_POLICY_README.html
but i'm not sure on what phases i can declare a "ceck_policy_service"
i know i can use it on: smtpd_end_of_data_restrictions,
smtpd_sender_restrictions, smtpd_recipient_restrictions.
it states in the document:
Protocol states are CONNECT, EHLO, HELO, MAIL, RCPT, DATA,
END-OF-MESSAGE, VRFY or ETRN; these are the SMTP protocol states where
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision
but on what directive in the config file i will get the states:CONNECT,
EHLO, HELO, MAIL,MESSAGE, VRFY or ETRN ???
i am able to get RCPT and END-OF-MESSAGE but none of the others.
Thanks,
Eliezer
--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il