Symptoms
-
In an attempt to reload the IMAPD, POP3D or POP3S services on a Plesk server, the following error is shown:
# /etc/init.d/courier-imapd reload
/etc/init.d/courier-imapd: 20: /etc/init.d/courier-imapd: IMAP: not found
# /etc/init.d/courier-pop3d reload
/etc/init.d/courier-pop3d: 19: /etc/init.d/courier-pop3d: POP3: not found
# /etc/init.d/courier-pop3s reload
/etc/init.d/courier-pop3s: 19: /etc/init.d/courier-pop3s: POP3: not found -
The
prog
variable in the configuration files of the affected services includes extra quotas:# cat /etc/init.d/courier-imapd /etc/init.d/courier-pop3d /etc/init.d/courier-pop3s | grep -i prog
prog=””Courier IMAP server””
prog=””Courier POP3 server””
prog=””Courier POP3 server with SSL/TLS support””
Cause
This is the Plesk bug with ID #PPPM-8205 which is planned to be fixed in future Plesk updates.
Resolution
Until the bug will be fixed, apply the workaround below:
-
Log into the server via SSH.
-
Restart affected services using the required command:
- For courier-imapd:
# systemctl courier-imapd restart
- For courier-pop3d:
# systemctl courier-pop3d restart
- For courier-pop3s:
# systemctl courier-pop3s restart
- For courier-imapd: