Turn off Mail for a Domain

The ability to turn off/disable Mail for a domain inside of iworx. (if the customer is using an external mail provider like gmail or something else.)

This is needed when a user on the same server tries to email a user that is actually not hosted on the iworx box.


This is possible, using the vdeldomain command


How do you use this command? I was looking for something inside the admin where you can disable mail. Just like you can for DNS.

It must be run at the command line Marco, there is no way to do it via the web interface currently. You run the command like this:

/var/vpopmail/bin/vdeldomain domain.com

> Just like you can for DNS.

Are you referring to deleting DNS zones in NodeWorx? Even if DNS is hosted elsewhere, there’s no need to delete the DNS zones from within InterWorx. They won’t be used if the domain’s nameservers don’t point to the InterWorx server.


can you add it back with

/var/vpopmail/bin/vadddomain domain.com

From memory Justin it’s;

/var/vpopmail/bin/vadddomain domain.com password

Where password is the password of the default postmaster@domain.com account :slight_smile: