On Thu, Jul 08, 2021 at 04:49:03PM -0400, post...@ptld.com wrote:
> I notice when using SMTPD_DELAY_REJECT=yes and calling a 
> CHECK_POLICY_SERVICE inside SMTPD_HELO_RESTRICTIONS it will report 
> "protocol_state = RCPT", same as when you call the policy service from 
> inside SMTPD_RECIPIENT_RESTRICTIONS.
> 
> Is there a way to pass a value from the CHECK_POLICY_SERVICE line (or 
> any other method), to know which restriction section the policy service 
> is being ran inside of?

This problem report is not consistent with the Postfix source code,
which reports the correct protocol state.  Perhaps you don't actually
have "smtpd_delay_reject = yes" in place.

-- 
    Viktor.

Reply via email to