Unable to disable to the SASL authentication

Dealing with postfix configuration, I noticed that it's impossibile to disable the SASL authentication.

Infact, the webmin is adding/removing the "smtpd_sasl_auth_enable = yes" variable in main.cf but in master.cf is always present "-o smtpd_sasl_auth_enable=yes" for smtp and submission entries.



Howdy -- so that we can reproduce the exact issue you're seeing, can you describe the steps you're using to attempt to disable SASL authentication?

Also, out of curiosity, is there a reason you're looking to disable SASL authentication?

I've disabled the SASL authentication through:

Webmin > Postfix Mail Server > SMTP Authentication And Encryption > Enable SASL SMTP authentication? (NO)

I've disabled the SASL auth during my test on authentication (I've problems using username@domain just for SMTP authentication as reported here http://www.virtualmin.com/node/24088 )

No news yet... we'll check into that more though.

To verify -- if you manually remove the "-o smtpd_sasl_auth_enable=yes" option you mentioned in the master.cf, does that have the desired effect?

Rather than correcting that -- since it's rare that SASL needs to be disabled (you're the first one to ask about that), we may actually look into removing the option entirely.

Which isn't to say it can't be disabled, it would just need to be disabled manually, rather than through Webmin/Virtualmin.

Thanks for the heads up though!