[pfx] Re: restricting sender to single domain

Nick Tait via Postfix-users <[email protected]> Wed, 24 Jun 2026 18:31:05 +1200
Newsgroups gmane.mail.postfix.user
Message-ID <[email protected]>
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]