Parallels small business panel. How to disable mail for domain
I’ve needed to allow for my domain only hosting without mail service. Mail server will be remote. I’ve changed MX-records to remote server IP (or hostname), but it’s not enough. Also this domain must be removed from mail daemon (Qmail, Postfix or other) config files.
There is no possibility to disable mail service for domain via Small business panel. You can only do it via command line.
#/usr/local/psa/bin/domain -u <domain> -mail_service false
Additionally, if you want to set option “What to do with mail sent to nonexistent users” to “Forward to address”, you need than manually edit
/var/spool/postfix/plesk/virtual.db
with command
postmap -d @<domain> hash:virtual