On 25/06/22 10:50, Gary Smith wrote:
Would it be better to add IPs to an access hash list and use
check_recipient_a_access so we can use update it when we need to on the fly?
If so can I add subnets (10.20.30.0/24) or just single IPs? I’m
usinghttps://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions as a
reference and it says not to use OK but DUNNO, which is a little confusing with
what DUNNO says it does, which is what also prompted this question. What’s the
best approach here?
Hi Gary.
I think the restriction you're looking for is check_client_access
(rather than check_recipient_a_access)?
FYI You can also use OK with check_client_access.
Nick.