Symptoms
Attempting to access Webmail fails and the Dovecot log /var/log/maillog
is populated with errors such as:
Policy server HTTP error: connect(127.0.0.1:579) failed: Connection refused
Description
Dovecot is configured to connect to cPHulk on a server where cPHulk is not enabled. In order to properly disable cPHulk, the auth_policy_server_url
line must be removed from the Dovecot configuration file.
Workaround
Please refer to our cPHulk documentation for the proper instructions to disable cPHulk:
To disable cPHulk so that it remains offline, even after a restart of cPanel & WHM, perform the following steps:
- Remove the
enabled
touch file:rm /var/cpanel/hulkd/enabled
- Edit the
/etc/dovecot/dovecot.conf
file to remove the following line:auth_policy_server_url = http://127.0.0.1:579/dovecot-auth-policy
- Rebuild Dovecot’s configuration file by running the following script:
/usr/local/cpanel/scripts/builddovecotconf
- Restart Dovecot
/usr/local/cpanel/scripts/restartsrv_dovecot
Comments
0 comments
Article is closed for comments.