Mayuresh:
> On Tue, Jan 15, 2019 at 01:31:44PM -0500, Wietse Venema wrote:
> > This example can be simplified by using smtpd_relay_restrictions
> > (Posfix 2.10 and later).
> > 
> >      smtpd_relay_restrictions =
> >     permit_mynetworks
> >     permit_sasl_authenticated
> >     reject_unauth_destination
> >     ...other anti-spam things...
> > 
> >      smtpd_recipient_restrictions =
> >      check_recipient_access hash:/etc/postfix/protected_destinations
> > 
> > Otherwise everything has to be squeezed into smtpd_recipient_restrictions,
> > and that makes things ugly.
> 
> Thanks for sharing the snippet.
> 
> Comparing this with the README example of the OP, what is equivalent of
> insiders_only in your example i.e. the list of senders who are allowed to
> send to protected destination.
> 
> My scenario is the sender restriction should apply only on the protected
> destination, not on others.

Don't get confused by names. You can use the name 'list_members'
instead of 'insiders' if you like. The names don't change the
principle of how things work.

        Wietse

Reply via email to