> On May 19, 2017, at 1:52 PM, Marcio Merlone <[email protected]> wrote:
> 
> smtpd_relay_restrictions =
>    permit_sasl_authenticated,
>    defer_unauth_destination
> smtpd_sender_restrictions =
>    reject_non_fqdn_sender
> smtpd_recipient_restrictions =
>    check_recipient_access hash:/etc/postfix/protected_destinations,
>    permit_mynetworks,
>    permit_sasl_authenticated,
>    reject_unauth_destination
> smtpd_restriction_classes = insiders_only
> insiders_only = check_sender_access hash:/etc/postfix/insiders, reject
> 
> 
> protected_destinations:
> [email protected]       insiders_only
> 
> insiders:
> [email protected] OK
> 
> With this, a user like [email protected] is able to send to [email protected], 
> which is not the desired behavior.

Logs?  Did the mail arrive via SMTP?  On what port?

Possible problems:

        * Mail is sent via sendmail(1) and not SMTP
        * Mail is sent via the submission port 587, where the restrictions
          are different
        * Mail is not sent via this Postfix instance
        ...

-- 
        Viktor.

Reply via email to