On 24/06/2026 10:40, David Koski via Postfix-users wrote:
Hello,

I'm looking for a way to restrict a single user to sending only to a single domain.

Regards,
David Koski
[email protected]

Hi David.

Assuming that you want to allow [email protected] to only send to [email protected], then you should be able to do something like this:

smtpd_recipient_restrictions = check_sender_access inline:{ 
{[email protected] = check_recipient_access inline:{ 
{[email protected] = ok } }, reject } }

Nick.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to