sasl postfix smtp authentication setup

Hi, I'd like to have a SMTP server with starttls and password authentication. When configuring manually I use the following options in /etc/postifix/master.cf:

smtps     inet  n       -       -       -       -       smtpd
  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=private/auth
  -o smtpd_sasl_security_options=noanonymous

I'd like to be able to configure the same options via virtualmin gui, but I'm unable to find where to set smtpd_sasl_type and smtpd_sasl_path to have sasl authentication via dovecot.

Can you advice me how to configure SMTP authentication another way, or add these options to virtualmin postifix configuration page.

Status: 
Active

Comments

Howdy -- sorry, at the moment Webmin/Virtualmin only supports Postfix authentication via saslauthd. There isn't a way to do that from within the GUI, other than using the GUI config editor to edit the master.cf file.

I see, I have successfully postfix configured it to use dovecot as an auth backend by using the above config and the adding the following lines into /etc/dovecot/conf.d/10-master.conf

[...]
client {
       path = /var/spool/postfix/private/auth
       mode = 0660
       user = postfix
       group = postfix
}
[...]

Excellent, we're glad to hear that's working for you!

Yeah at the moment that's not something Virtualmin supports, though there shouldn't be any problem in enabling it manually.