[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    Re: Restrict sender to domain/s
From:       Noel Jones <njones () megan ! vbhcs ! org>
Date:       2018-08-22 15:34:41
Message-ID: 2f115e61-b137-05b4-8308-58d4a98dc202 () megan ! vbhcs ! org
[Download RAW message or body]

On 8/21/2018 11:24 PM, mlists@x76.eu wrote:
> Hello,
> I have a number of authenticated senders I would like to restrict to
> certain recipient domains.
> 
> I.e. user "apachelogs@example.org" should only be able to send emails to
> domains "example.org" and "foobarbaz.com".
> Recipient/s with any other domain (e.g. "example@gmail.com") should be
> rejected.
> 
> If this possible at all, what do I need to look at?
> 
> Regards
> 

The general mechanism is documented here:
http://www.postfix.org/RESTRICTION_CLASS_README.html#external

You'll need to adjust it for your needs, but it can do that.


  -- Noel Jones
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic