Charles Marcus wrote, at 05/06/2009 06:38 AM:
> On 5/6/2009, Gaël Lams (lamsg...@gmail.com) wrote:
>> I modified master.cf and configure submission that way:
>> submission inet n      -       n       -       -       smtpd
>>         -o smtpd_enforce_tls=yes
>>         -o smtpd_sasl_auth_enable=yes
>>         -o smtpd_client_restrictions=permit_sasl_authenticated,reject
>>
>> Regards,
> 
> What version of postfix was this?
> 
> I believe newer versions (I'm on 2.5.6) should be something like:
> 
> submission inet  n       -       n       -       -       smtpd
>   -o smtpd_tls_security_level=encrypt
>   -o smtpd_tls_auth_only=yes
>   -o smtpd_client_restrictions=permit_sasl_authenticated,reject

The OP might also benefit from changing the last line to:

  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject

This will override the corresponding smtpd_recipient_restrictions in
main.cf and provide a simpler configuration appropriate to the
submission service. Tweak as needed.


Reply via email to