Issue
Is it possible to temporarily disable a delegated domain in such a way that the domain and underlying users are disabled but not deleted, so they can be reactivated later?
Solution
It is possible to disable a delegated domain without deleting the domain and underlying users.
There are several ways to disable a delegated domain; some are easier than others. The following methods can be used to disable delegated domains:
- Change the DNS record
- Change the mailHost attribute in LDAP to a different host name
- Change the local configuration on the Mirapoint appliance (this method can be used in systems where LDAP is deployed or not deployed)
The following two methods temporarily delete the domain and users:
- Backup the domain information, and then delete the original
- Rename the domain and copy all data to another domain the users do not have access to (this is a very complex process and is not documented in this article)
Disabling a Delegated Domain
To disable a delegated domain on the Mirapoint appliance, do the following:
1. Disable each user login in the domain. Use the User Set Login command to do this. For example:
User Set Login username Off
Where username is the name of the user, for example "Bob."
2. Disable the mail from flowing into the domain. Create a message filter using the Filter Add command to stop the mail flow. For example:
Filter Add "(domain=any) domainDisable1 Reject "" Anyof Stop {...}
:envelopefrom Contains "@domain.com"
:envelopto Contains "@domain.com"
Where:
- domainDisable1 is the name of the filter
- {...} is the number of bytes entered
- @domain.com is the domain you want to disable.
Reactivating a Disabled Domain
To reactivate the domain and re-enable the users, do the following:
1. Enable each user in the domain. Use the User Set Login command for each user to be enabled. For example:
User Set Login username On
Where username is the name of the user be be enabled.
2. Remove the filter. Use the Filter Delete command to do this. For example:
Filter Delete "(domain=any)" domainDisable1
Where domainDisable1 is the name of the filter.
Comments
0 comments
Please sign in to leave a comment.