On Wed, Mar 27, 2024 at 11:57:22AM +0100, Daniel Marquez-Klaka via
Postfix-users wrote:
> Why my setup looks like this? mail-server1 servs a couple of other mail
> domains, not only the one destined for the mailing lists. An access list
> here would affect all domains, right?
Only if the access rules in question apply to those domains. You should
be able to use "smtpd_restriction_classes" to apply some rules to just
the domain in question.
smtpd_restriction_classes = list_server_access
smtpd_recipient_restrictions =
check_recipient_access inline:{
{ list.example.org = list_server_access } }
...
list_server_access =
check_sender_access inline:{
{ a.example = permit_auth_destination },
{ b.example = permit_auth_destination },
{ c.example = permit_auth_destination } }
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]