Disable mail service simplified
There is actually no way to create "real" "Web service only" subscription. If the subscription plan is set without any mailbox the mailservice is enable on that subscription BUT not accessible in the panel. It's necessary to change the subscription settings to access the disable button or in command line by :
/usr/local/psa/bin/subscription --update domaine.com -mailservice false
Without disabling mail_service the web service will not be able to send email to subscription's domain external hosted mail address.
It would be great to be able to set a plan of "web only" subscription to host website when the mail are hosted externally without have to do additional command line.
Implemented in Plesk Onyx 17.9 Preview 7 – https://docs.plesk.com/release-notes/onyx/change-log/#contents-179-preview7
Users can now remove the Plesk mail service for a domain or choose not to create it when a domain is created. This is useful when using a remote mail service – mail to domains hosted in Plesk will no longer be delivered locally.
—
IG
-
Gavin commented
+1 I agree, it would be great to completely uninstall all mail server functionality. Obviously, we still need sendmail.
As a workaround, I use a Plesk Event to run the disable mail_service CLI command when a subscription is created, but it would be preferable to just have the services removed altogether. -
SB5 commented
It would be also interesting to have a simple way to switch off the mail services on the whole server. The same for the DNS hosting service. I use Plesk install with external DNS and mailserver and still having some note used services on the server is only a security issue.