Menu

#5401 Dovecot and Webmin Conflict with Config

1.950
closed-fixed
nobody
None
5
2020-08-28
2020-08-27
Angel Hess
No

The current version of Dovecot uses a different config type than the config automatically written with Webmin; so for example editing Dovecot ssl options with Webmin breaks Dovecot. Please update this so Webmin functions correctly with Dovecot.

Discussion

  • Ilia

    Ilia - 2020-08-27

    Hi,

    We believe it was fixed in Webmin 1.955. If you still see this issue with the latest version, please provide steps to reproduce it, and show how your dovecot.conf file looks before and after the save.

     
    • Angel Hess

      Angel Hess - 2020-08-27

      Ok to duplicate the problem start with a blank conf file or with one line of "#" only on first line. Then edit the conf with webmin for example: edit the potocal then save once, then do a second edit, and add the cert files with diretory and cert info, this ads the incorrect old conf tags (ssl_cert_file , ssl_key_file ). In webmin 1.955.

       
  • Ilia

    Ilia - 2020-08-28

    Angel, Dovecot itself seems to save directives correctly. I have just tested it over again upon your request.

    and add the cert files with diretory and cert info, this ads the incorrect old conf tags

    Perhpas, the issue that you're seeing is related to a browser auto-filling fileds with old, previously used values?

     
  • Ilia

    Ilia - 2020-08-28

    this ads the incorrect old conf tags (ssl_cert_file , ssl_key_file ). In webmin 1.955.

    What Dovecot version your server is running there?

     
  • Ilia

    Ilia - 2020-08-28

    Okay, I see an issue that ssl_ca_file is indeed added instead of ssl_ca for Dovecot v2. - this is confirmed.

    Does it also happen with ssl_cert_file and ssl_key_file directves - that I cannot reproduce yet.

     
  • Ilia

    Ilia - 2020-08-28

    Okay, I really found an issue after looking at the code.

     
  • Ilia

    Ilia - 2020-08-28

    Okay, fixed.

    You are welcome to apply the patch and give it a try.

    Thanks for reporting.

     
  • Ilia

    Ilia - 2020-08-28
    • status: open --> closed-fixed
     

Log in to post a comment.