- Plesk for Linux
The following error occurs on an attempt to enable mail service for a sub-domain using CLI:
# plesk bin mail --on sub.example.com
An error occurred during turning mail service for domain on/off: unable to define mail domain service id
exit status 1
Currently, there is no such functionality in Plesk to enable mail service for subdomain.
This functionality is yet to be implemented in Plesk and was requested on UserVoice portal. The top-ranked suggestions are likely to be included in the next versions of Plesk.
As a workaround, it is possible to create a domain with the name like sub-domain and enable mail service for it..