Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Melvin Vermeeren
Wietse Venema: > Melvin Vermeeren: > > In conclusion I believe "var_smtpd_sasl_enable" can be removed from > > src/smtpd/ smtpd_check.c completely, together with the "if > > (var_smtpd_sasl_enable)" conditionals. Could you post your thoughts on > > this? > > You can try that. But your argument has

Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Wietse Venema
Melvin Vermeeren: > In conclusion I believe "var_smtpd_sasl_enable" can be removed from src/smtpd/ > smtpd_check.c completely, together with the "if (var_smtpd_sasl_enable)" > conditionals. Could you post your thoughts on this? You can try that. But your argument has holes because there is code l

Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Melvin Vermeeren
Wietse Venema: > Wietse Venema: > > Melvin Vermeeren: > > > To be specific the problem is that it appears impossible to enable SASL > > > without configuring a real, working, authentication back-end, which is > > > not > > > needed if only XCLIENT-style SASL is used I believe. > > > > By default,

Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Wietse Venema
Wietse Venema: > Melvin Vermeeren: > > To be specific the problem is that it appears impossible to enable SASL > > without configuring a real, working, authentication back-end, which is not > > needed if only XCLIENT-style SASL is used I believe. > > By default, Postfix has > > smtpd_sasl_

Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Wietse Venema
Melvin Vermeeren: > To be specific the problem is that it appears impossible to enable SASL > without configuring a real, working, authentication back-end, which is not > needed if only XCLIENT-style SASL is used I believe. By default, Postfix has smtpd_sasl_type = cyrus Why don't you set

Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Melvin Vermeeren
On Saturday, 21 March 2020 15:59:45 CET Wietse Venema wrote: > Melvin Vermeeren: > > > connect from localhost[127.0.0.1] > > > warning: restriction `reject_authenticated_sender_login_mismatch' > > > ignored: > > > no SASL support > > This means that Postfix is built without any SASL support, > or

Re: Enabling SASL without any authentication back-end for use with XCLIENT only

2020-03-21 Thread Wietse Venema
Melvin Vermeeren: > > connect from localhost[127.0.0.1] > > warning: restriction `reject_authenticated_sender_login_mismatch' ignored: > > no SASL support This means that Postfix is built without any SASL support, or that you have "smtpd_sasl_enable=no". Wietse Code sample: #ifdef USE_S