Shaun T. Erickson a écrit :
> In the "Postfix SASL Howto", it says:
> 
> In order to allow mail relaying by authenticated remote SMTP clients:
> 
> /etc/postfix/main.cf:
>     smtpd_recipient_restrictions =
>         ...
>         ...
> 
> This is how I configured my submission port in the past. In building
> my new server, I see that the submission definition in master.cf uses
> smtpd_CLIENT_restrictions (cps mine, for emphasis) instead. I am
> confused about which I should use and why. Can someone enlighten me,
> please? Thanks!

I don't know what smtpd_client_restrictions you talk about, but it
doesn't matter.

To allow relay, you need to configure smtpd_recipient_restrictions. By
default, this contains
        permit_mynetworks
        reject_unauth_destination
so if you don't change it, only "mynetworks" can relay. so you need to
add permit_sasl_authentiated before reject_unauth_destination.



Reply via email to