aio shin wrote:
we have a local access restriction that denied emails from outside to
be able to reach those users on the access list.

smtpd_recipient_restrictions =
        check_sender_access hash:/etc/postfix/restricted_senders
        permit_mynetworks
        permit_sasl_authenticated
        reject_unknown_recipient_domain
        reject_non_fqdn_recipient
        reject_unlisted_recipient
        reject_unlisted_sender
        reject_unauth_destination


those on the restricted_senders are not able to receive from yahoo or
any other mail, only local.

now, if there's an email big...@yahoo.com and big...@gmail.com and I
want it to bypass any restriction, how should I do it?

Put the following in /etc/postfix/restricted_senders, above the line(s) blocking non-local senders:

big...@yahoo.com        permit_auth_destination,reject
big...@gmail.com        permit_auth_destination,reject

Reply via email to