François B
New Pleskian
I'm using Plesk only as a web server (Apache + MySQL). The e-mail accounts are hosted by a third-party. I don't need IMAP/POP3 services, and would like to permanently disable them, to save memory and for security.
The scripts on the web server might still send mail, so I want to keep SMTP service.
I could manually stop the IMAP/POP3 services in Plesk UI > Tools & Settings > Services Management after each reboot, but this is not practical and I would like to automate this by simply having the services never startup after a reboot.
None of my attempts succeeded:
A) In Plesk UI > Tools & Settings > Updates and Upgrades > Add/Remove Components:
Remove Mail hosting > IMAP/POP3 servers > Courier
results in error message, telling I should remove Postfix too (SMTP server) if I want to proceed, which I don't want (as stated above, I want to keep SMTP service).
B) Executed as root:
sysv-rc-conf courier-authdaemon off
sysv-rc-conf courier-imapd off
sysv-rc-conf courier-imaps off
sysv-rc-conf courier-pop3d off
sysv-rc-conf courier-pop3s off
Running sysv-rc-conf with no arguments now shows all columns empty for courier-*, however after next reboot, IMAP and POP3 services are still launched.
Any idea to prevent IMAP/POP3 services to start ?
(My setup: Ubuntu 14.04, Plesk 12.5)
The scripts on the web server might still send mail, so I want to keep SMTP service.
I could manually stop the IMAP/POP3 services in Plesk UI > Tools & Settings > Services Management after each reboot, but this is not practical and I would like to automate this by simply having the services never startup after a reboot.
None of my attempts succeeded:
A) In Plesk UI > Tools & Settings > Updates and Upgrades > Add/Remove Components:
Remove Mail hosting > IMAP/POP3 servers > Courier
results in error message, telling I should remove Postfix too (SMTP server) if I want to proceed, which I don't want (as stated above, I want to keep SMTP service).
B) Executed as root:
sysv-rc-conf courier-authdaemon off
sysv-rc-conf courier-imapd off
sysv-rc-conf courier-imaps off
sysv-rc-conf courier-pop3d off
sysv-rc-conf courier-pop3s off
Running sysv-rc-conf with no arguments now shows all columns empty for courier-*, however after next reboot, IMAP and POP3 services are still launched.
Any idea to prevent IMAP/POP3 services to start ?
(My setup: Ubuntu 14.04, Plesk 12.5)