On Tue, Jul 24, 2018 at 09:59:18AM -0400, Phil Stracchino wrote:

> I'm just not
> sure of the best way to set things up such that it does NOT get filtered.

Add the backup MX to an IP-based whitelist.  Check that whitelist
before all restrictions other than relay control.

        cidr = cidr:${config_directory}/

        smtpd_relay_restrictions = 
            # Something along the lines of
            permit_mynetworks,
            permit_sasl_authenticated,
            reject_unauth_destination
        smtp_recipient_restrictions =
            check_client_access ${cidr}whitelist.cidr,
            # ...
        smtp_client_restrictions =
            # If non-empty, start with whitelist check
            # check_client_access ${cidr}whitelist.cidr,
            # ...
        smtp_helo_restrictions =
            # If non-empty, start with whitelist check
            # check_client_access ${cidr}whitelist.cidr,
            # ...
        smtp_sender_restrictions =
            # If non-empty, start with whitelist check
            # check_client_access ${cidr}whitelist.cidr,
            # ...

-- 
        Viktor.

Reply via email to