On Sat, Feb 13, 2021 at 08:49:56PM +0100, Dan wrote: > /etc/postfix/main.cf: > smtpd_recipient_restrictions = > ... > check_recipient_access hash:/etc/postfix/protected_destinations > ...the usual stuff... > > smtpd_restriction_classes = insiders_only > insiders_only = check_sender_access hash:/etc/postfix/insiders, reject > > /etc/postfix/protected_destinations: > all@my.domain insiders_only > all@my.hostname insiders_only > > /etc/postfix/insiders: > my.domain OK matches my.domain and subdomains > another.domain OK matches another.domain and subdomains
> Which is working, but after creating the hash tables like in this example, > other users won’t get new mails from outside. > > All other mails are rejected in the logs with “server configuration error” Fix the "server configuration error" detailed in your logs. -- Viktor.