On 2021-07-13 at 12:14:50 UTC-0400 (Tue, 13 Jul 2021 12:14:50 -0400)
 <post...@ptld.com>
is rumored to have said:

> Is there a way to have header checks happen as a condition during 
> smtpd_recipient_restrictions but not happen other times?
> Something like assign the header check to a restriction class which can be 
> called on during a check_recipient_access?
>
> End goal is to conditionally run header matching/action based on recipient 
> checked against mysql:/lookup

Logically impossible. You don't have the headers yet when 
smtpd_recipient_restrictions directives are evaluated.


-- 
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to