Resolved SNI for IMAP no longer works after updating to 18.0.73

andreasg

New Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.73 #3
After updating to 18.0.73, SNI no longer works with IMAP when Plesk Premium Email is installed. The IMAP proxy guam seems to be unable to generate the SNI configuration.

When I execute the command “plesk bin extension -e kolab sync-guam-config.php,” I get the following error message:

Code:
[2025-10-30 12:16:16.420] 115442:6903490066809 ERR [extension/kolab] The execution of sync-guam-config.php has failed with the following message:
[2025-10-30 12:16:16.316] 115456:690349004d1c8 ERR [panel] Call to undefined method pm_Log::error():
0: /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php:39
    Modules_Kolab_GuamConfig->getDovecotSniDomains()
1: /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php:80
    Modules_Kolab_GuamConfig->getSniHostsConfig()
2: /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php:104
    Modules_Kolab_GuamConfig->writeConfig()
3: /opt/psa/admin/plib/modules/kolab/scripts/sync-guam-config.php:24
ERROR: Error: Call to undefined method pm_Log::error() (GuamConfig.php:39)
The execution of sync-guam-config.php has failed with the following message:
[2025-10-30 12:16:16.316] 115456:690349004d1c8 ERR [panel] Call to undefined method pm_Log::error():
0: /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php:39
    Modules_Kolab_GuamConfig->getDovecotSniDomains()
1: /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php:80
    Modules_Kolab_GuamConfig->getSniHostsConfig()
2: /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php:104
    Modules_Kolab_GuamConfig->writeConfig()
3: /opt/psa/admin/plib/modules/kolab/scripts/sync-guam-config.php:24
ERROR: Error: Call to undefined method pm_Log::error() (GuamConfig.php:39)

exit status 1
 
Hi, @andreasg . Our team was able to identify and patch a bug in the Kolab extension code that prevented Guam configuration synchronization from completing correctly. Kolab’s code was checking for ssl_cert directives in /etc/dovecot/conf.d/14-plesk-sni-*.conf, but newer Dovecot versions (≥ 2.4.1) now use ssl_server_cert_file. To address the issue, please do the following:

  1. Create a backup of the affected file:

    Code:
    cp -a /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php
    /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php.bak.$(date +%F-%H%M)
  2. Download the following file:

    Code:
    wget https://cpanel.zendesk.com/guide-media/01K74GB8X4V4Z6SBZYWC1SK6QA
  3. Move it to the correct location:

    Code:
    mv GuamConfig.php /opt/psa/admin/plib/modules/kolab/library/GuamConfig.php
  4. Run the Kolab synchronization again:

    Code:
    plesk bin extension -e kolab sync-guam-config.php
 
Thank you for your reply. Unfortunately, the link with the patched version does not work for me. I get a 401 error message when I try to open the link.
 
Back
Top