• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Horde Webmail Configuration Errors

Eric Pretorious

Regular Pleskian
When I use apachectl to list the mdules that Apache's loaded apachectl complains:
Code:
[root@www cyberhobo.rocket-powered.com]# apachectl -t -D DUMP_MODULES
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 19 of /usr/local/psa/admin/conf/generated/13694961050.69370200_horde.include: Syntax error on line 29 of [COLOR="#00FF00"]/usr/local/psa/admin/conf/webmail_horde_bootstrap.conf[/COLOR]: Could not open configuration file[COLOR="#FF0000"] /usr/local/psa/admin/conf/generated/13711743010.86118300_pray_example_com_webmail.include[/COLOR]: No such file or directory
Looking inside of /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf:
Code:
[root@www conf]# cat [COLOR="#00FF00"]/usr/local/psa/admin/conf/webmail_horde_bootstrap.conf[/COLOR]
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
...
Include '[COLOR="#FF0000"]/usr/local/psa/admin/conf/generated/13711743010.86118300_pray_example_com_webmail.include[/COLOR]'
...'
and comparing the contents of /usr/local/psa/admin/conf/generated/, I can see that the file (13711743010.86118300_pray_example_com_webmail.include) is absent.

  1. How should I fix this situation? i.e., How can I force Plesk to regenerate the *_webmail.include files in the /usr/local/psa/admin/conf/generated/ directory?
  2. Can I disable webmail for subscriptions and/or domains?
 
Last edited:
While perusing the /usr/local/psa/admin/conf/generated directory, I noticed a dozen stale symlinks and while I was cleaning them up...

Code:
[root@www conf]# pwd
/usr/local/psa/admin/conf

[root@www conf]# find -L generated/ -type l | wc -l
19

[root@www conf]# find -L generated -type l -delete


[root@www conf]# find -L generated/ -type l | wc -l
0
...the error seems to have cleared itself up:

Code:
[root@www conf]# apachectl -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
 ...
Syntax OK
I verified that all of the *_webmail.include files listed in webmail_horde_bootstrap.conf exist:

Code:
[root@www conf]# perl -e 'open(FILE,"webmail_horde_bootstrap.conf") or die ; while (<FILE>) { if (m/.*\/(.*_webmail.include)/) { push (@files,$1) } } ; for (sort @files) { if (! -e "./generated/$_") {print "$_ MISSING\n"}  } '

...but I'm still a bit puzzled, however: There are many more *_webmail.include files in the /usr/local/psa/admin/conf/generated directory than are listed in webmail_horde_bootstrap.conf:

Code:
[root@www conf]# find generated -type f -name '*_webmail.include' | wc -l
133

[root@www conf]# wc -l webmail_horde_bootstrap.conf
31 webmail_horde_bootstrap.conf
Is this the expected behavior?
Can/Should I disable webmail for unused domains?
 
Just run httpdmng --reconfigure-all to re-generate all web server configuration files.

You can disable webmail, but I don't see much reason to.


Also, please always post your exact Plesk and OS versions for others to be able to help you.
 
Back
Top