Stop Plesk Mail service for a single domain

I had a client with multiple domains in their Plesk panel and was using Google Apps for one of the domains. The problem was that when they sent mail from a Plesk provided email to the Google provided email, it would be bounced by the Plesk server.

Here is how to turn off mail for a single domain in Plesk:

How I stopped mail service for one domain name on Plesk:

/usr/local/psa/bin/domain -u {domain.tld} -mail_service false

You can check status by:

/usr/local/psa/bin/domain -i {domain.tld} | grep "Mail service" | awk '{print $3}';

Tags: