On Fri, Jun 03, 2022 at 10:07:02AM +1000, raf wrote:

> > smtpd_recipient_restrictions =
> >     check_recipient_mx_access cidr:/etc/postfix/recipient_mx_access.cidr
> 
> Not sure, but if there's no MX record, then there's no MX host to look up.
> Perhaps you want to use check_recipient_a_access instead for these?

You *could* speculate, but then there's always the documentation:

    http://www.postfix.org/postconf.5.html#check_recipient_mx_access

    check_recipient_mx_access type:table
        Search the specified access(5) database for the MX hosts for the
        RCPT TO domain, and execute the corresponding action. If no MX
        record is found, look up A or AAAA records, just like the Postfix
        SMTP client would. Note: a result of "OK" is not allowed for safety
        reasons. Instead, use DUNNO in order to exclude specific hosts from
        denylists. This feature is available in Postfix 2.1 and later. 

-- 
    Viktor.

Reply via email to