Submitted by stretch on Thu, 12/01/2016 - 20:06
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
Submitted by andreychek on Thu, 12/01/2016 - 21:22 Comment #1
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.
Submitted by stretch on Thu, 12/01/2016 - 22:03 Comment #2
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
}
[...]
Submitted by andreychek on Thu, 12/01/2016 - 22:32 Comment #3
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.