MailSite Knowledge Base

Enter text to search for or enter the document ID number.
Search:   
Doc ID:   

Disabling a Domain
Document #:10499

Applies To:
  • MailSite 7.x
  • MailSite 8.x
  • MailSite 9.x

Synopsis:
Administrators may wish on occasions to disable a domain so that it cannot receive mail rather then deleting the domain so that it can be reactivated later.

More Information:

If a domain is disabled users will no longer be able to login to view their mail nor will any mail for this domain be received.

If the user tries to login via IMAP or POP they will get an error similar to 4@test.com failed (domain disabled). If they try to log in via Express it will just return invalid username/password so they won't know that the domain is disabled until they contact their administrator.

Is someone tries to send an email to that domain, then SMTPRA will reject it with:

Your message did not reach some or all of the intended recipients.
Subject: test
Sent: 03/11/2008 6:40 PM
The following recipient(s) cannot be reached:
'1@test.com' on 03/11/2008 6:40 PM
450 4.2.1 <1@test.com> Domain disabled

You will also then see within your SMTPRA logs a line like this (This assumes you are logging protocol exchanges, receive and transmit transaction summaries):

>>> RCPT TO:<1@test.com>
<<< 450 4.2.1 <1@test.com> Domain disabled
>>> QUIT
<<< 221 2.0.0 example.com closing

To Disable a Domain

Registry Setup

WARNING!!
Incorrectly editing the registry can damage the server, please be sure you know what you are doing
  • Stop the MailSite services.
  • If it is the default domain, open the registry and go to HKEY_LOCAL_MACHINE\SOFTWARE\Rockliffe\MailSite.
  • Add a DWORD key called DisableDomain and set this to 1.
  • Restart the services.
  • Otherwise for all other domain put the new key under the domain name e.g HKEY_LOCAL_MACHINE\SOFTWARE\Rockliffe\MailSite\Domain\ExampleDomainName.
  • Add a DWORD key callend DisableDomain and set this to 1. (To renable the domain set this value to 0)
  • Restart the services.

SQL Connector

  • Stop the MailSite services.
  • Look up the domainsID for the domain you wish to disable in the DomainNames table in the SQL database.
  • Find this ID in the DomainProperties table and set the DomainProperty "DisableDomain" to 1. (To renable the domain set this value to 0)
  • Restart the services.

Last revised 2009-2-5
 
 

MailSite SE - Easy email and calendar server software for small businesses | MailSite ExpressPro - AJAX email and calendar client for web browsers
MailSite Fusion SP - Scalable and clustered email and calendar hosting software | Email Server and Calendar Server Software
MailSite Mobile Sync Server | MailSite Calendar Server Software | MailSite Anti-Virus | Mailsite Anti-Spam | Customer Portal
Support | Webstore | Services | Partners | Press | Company | Contact | Reviews | Site Map | Privacy | ©2010 MailSite, Inc.
BlackBerry® is a registered trademark of Research in Motion Limited. Outlook®, Windows Vista® and ActiveSync® are registered trademarks of Microsoft Corporation. MailSite Inc. is in No Way Affiliated with Research in Motion Limited or Microsoft Corporation.