If that doesn't work - different approach, using only restrictions, e.g.

smtpd_recipient_restrictions = permit_mynetworks [...]
        reject_unauth_destination
        check_recipient_access hash:/etc/$config_directory/my_domains

my_domains:
example.internal        521 Unauthorized

- do no accept recipients in @example.internal for smtpd, assuming you
have separate smtpd_recipient_restrictions set for submission service,
which you should have already (the one with permit_sasl_authenticated).
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to