Mayuresh:
> On Wed, Jan 16, 2019 at 07:14:37AM -0500, Wietse Venema wrote:
> >         insiders_only = check_sender_access hash:/etc/postfix/insiders, 
> > reject
> 
> On above line if I replace reject with reject_unauth_destination it
> becomes permissive rather than rejecting.
> 
> What is the exact difference between reject and reject_unauth_destination?

reject, with error code:
    http://www.postfix.org/access.5.html (section: REJECT ACTIONS)

reject_unauth_destination:
    http://www.postfix.org/postconf.5.html#reject_unauth_destination

> I thought it's about rejecting with proper code. But looks like it has
> different semantics.
> 
> The problem with `reject' is the sender's server returns the mail calling
> us as `improperly configured'. (Hope that doesn't lead to blacklisting!) I
> think it's better to reject with proper error code.

If you are unable to follow the example, then do not use it, or get
professional advice (I am not available).

        Wietse

Reply via email to