webmin: Postfix - SASL security options - Incorrect pre-filled value

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Webmin version 2.111
Usermin version 2.010
Virtualmin version 7.10.0
Theme version 21.10
Package updates 3 package updates are available

background

while setting up my Postfix server I cam along this issue. I have not played around with postfix settings before and I checked this on my live site which I definately have not touched.

In the GUI

Webmin --> Postfix Mail Server --> SMTP Client Options --> SASL security options: noplaintext, noanonymous

image

  • there are 2 values and they are separated by a comma

in /etc/postfix/main.cf`

The corresponding value is as follows smtpd_sasl_security_options = noanonymous

image

  • there is only one value

the issue

  • There is an inconsistency between what is in the config and the GUI
  • When I save the the page (as is with noplaintext, noanonymous) Webmin --> Postfix Mail Server --> SMTP Client Options this wipes the smtpd_sasl_security_options from the config

Cause

  • I don’t know why the 2 locations are different (GUI and config file)
  • but I do know the presense of the comma in the GUI version is what causes the value to get wiped.

Additional

  • If I remove the comma and use SASL security options: noplaintext noanonymous the value saves as expected.
  • When I tried to access the tooltip I got the following image

About this issue

Commits related to this issue

Most upvoted comments

  • I set the string to image
  • reloaded the postfix configuration

postconf | grep smtp_sasl_security_options

image

postconf -d | grep smtp_sasl_security_options

image

p.s. I see the absolute difference in commands, I always used postfix -d and I will do some Linux studying soon 😄