Re: check_sasl_access question

2017-08-11 Thread mj
Hi! Right! Remove permit_sasl_authenticated and keep check_sasl_access hash:/etc/postfix/sasl_list Thanks! It works! MJ

Re: check_sasl_access question

2017-08-11 Thread Viktor Dukhovni
On Sat, Aug 12, 2017 at 12:02:18AM +0200, mj wrote: > > Far simpler: > > > >indexed = ${default_database_type}:${config_directory}/ > >smtpd_relay_restrictions = > > permit_mynetworks, > > check_sasl_access ${indexed}sasl_list, > > reject_unauth_destination > > >

Re: check_sasl_access question

2017-08-11 Thread mj
Hi Viktor! Thanks for the quick reply! On 08/11/2017 11:37 PM, Viktor Dukhovni wrote: Far simpler: indexed = ${default_database_type}:${config_directory}/ smtpd_relay_restrictions = permit_mynetworks, check_sasl_access ${indexed}sasl_list, reject_unauth_destin

Re: check_sasl_access question

2017-08-11 Thread Viktor Dukhovni
On Fri, Aug 11, 2017 at 11:20:35PM +0200, mj wrote: > I would like to only allow sasl authenticated relay for specific users, so I > have in main.cf: > > smtpd_relay_restrictions = permit_mynetworks, check_sasl_access > hash:/etc/postfix/sasl_list, > > and in /etc/postfix/sasl_list: > userna

check_sasl_access question

2017-08-11 Thread mj
Hi, I would like to only allow sasl authenticated relay for specific users, so I have in main.cf: smtpd_relay_restrictions = permit_mynetworks, check_sasl_access hash:/etc/postfix/sasl_list, and in /etc/postfix/sasl_list: username1 OK username2 REJECT username3 OK * REJECT The config w