Menu

#4922 postfix General Options error upon Save and Apply

1.830
closed-fixed
nobody
5
2017-03-24
2017-03-19
No

Ubuntu 16.04.02 LTS 64 bit
Webmin 1.831

Install postfix and configure it with Webmin

apt-get install postfix
reply with Satellite system; System mail name: xxxxx.com; SMTP Relay host: <blank></blank>

apt-get -y install mailutils
postfix status # reports OK

Based on this initial setup I immediately went to Webmin to finish the configuration.
The following is the ONLY changes that were made to produce the error:

Webmin->Servers->Postfix Mail Server
General Options
What domain to use in outbound mail: /etc/mailname
What domains to receive mail: Local machine
Other General Options
Send outgoing mail via host: smtp.gmail.com
Save and Apply

Webmin reports:
Failed to save options : Postfix configuration error :
postfix: fatal: bad string length 0 < 1: mynetworks_style =

Also tried what previous Webmin versions used on the SMTP Authentication And Encryption page for Send outgoing mail via host: [smtp.gmail.com]:587

Webmin reports the SAME error

Discussion

  • Jamie Cameron

    Jamie Cameron - 2017-03-19

    Looks like there's a bug in Webmin - it shouldn't allow you to set a blank value for mynetworks_style. I'll fix this in the next release.

     
  • Jamie Cameron

    Jamie Cameron - 2017-03-19
    • status: open --> closed-fixed
     
  • Rich Painter

    Rich Painter - 2017-03-23

    Is this fix supposed to be in 1.833? If so, it is not fixed. I installed 1.833 and the problem still exists. I was able to "workaround" by first editing the /etc/postfix/main.cf config file and creating this entry:
    mynetworks_style = host
    Then running webmin and performing the first steps previously reported that caused the error.

     
  • Jamie Cameron

    Jamie Cameron - 2017-03-24

    No, we haven't released a version with the fix yet.

     

Log in to post a comment.