Am 16.01.25 um 20:56 schrieb A. Schulze via Postfix-users:
Am 16.01.25 um 20:18 schrieb A. Schulze via Postfix-users:
But there is an additional requirement:
- example.ORG receive messages from any senderdomain,
- example.NET should only be reachable for a small set of senderdomains
(authenticated by DMARC)
/writing/ the requirement helps...
the following (untested) configuration should work
smtpd_recipient_restrictions =
...
check_recipient_access inline:{ @example.NET=limit_senderdomain }
...
smtpd_restriction_classes =
limit_senderdomain
limit_senderdomain =
check_sender_access inline:{ @example.COM=permit_auth_destination },
static:{ REJECT senderdomain rejected }
I removed the @ before the domainnames and now it works like required.
Andreas
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org