Home > Mail, Plesk > Parallels small business panel. How to disable mail for domain

Parallels small business panel. How to disable mail for domain

December 19th, 2010

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
Categories: Mail, Plesk Tags: ,
  1. Martin V
    July 21st, 2011 at 01:47 | #1

    Thanks a lot man, this post probably saved me some hours of testing! I was almost sure I had to reconfigure the entire postfix…

Comments are closed.