MDaemon 19.0 - Moving MDaemon to a new server or OS using a different directory path

Follow the steps below to move MDaemon version 19.0 to a new server with a new directory path or if the Windows operating system is upgraded.

  1. The existing MDaemon service must be removed to move MDaemon to a new machine.

    To remove the MDaemon service:
    • Select Setup
    • Select Preferences 
    • Select Windows Service
    • Select Remove Service 
    • Click OK in the Service was successfully removed pop-up. 
    • Click OK in the Preferences window.
    • Select Yes when MDaemon asks to restart. 
    • MDaemon will now restart running as an Application.
  2. Follow the next steps to deactivate MDaemon and any other MDaemon plug-ins.
    **NOTE - Deactivation is necessary to avoid any potential activation issues.

    To deactivate your Alt-N Software
    • Select Help
    • Select Activate Your MDaemon Software
    • Select Deactivate MDaemon... 
    • The SMTP, POP3, IMAP, and Webmail servers in the Servers section of MDaemon will turn red (inactive). 
    • Proceed to deactivate any additional MDaemon plug-ins that are activated on the server using the same menu above.
  3. Open Windows Explorer and copy the entire MDaemon directory to the new directory on the new server. 

  4. Use a text editor to edit the following files and point the old directory paths to the new directory paths.
    • \MDaemon\App\*.grp (if path references have been made)
    • \MDaemon\App\AccountTemplates.dat
    • \MDaemon\App\AutoResp.dat
    • \MDaemon\App\CFilter.ini
    • \MDaemon\App\cfrules.dat (if any content filter rules pointed to a directory)
    • \MDaemon\App\Gateways.dat
    • \MDaemon\App\MDaemon.ini
    • \MDaemon\App\MDSTATS.INI
    • \MDaemon\App\Plugins.dat
    • \MDaemon\App\Reminders.dat
    • \MDaemon\App\Schedules.dat
    • \MDaemon\Data\AirSync.ini
    • \MDaemon\Data\Dynamicscreen.ini
    • \MDaemon\SecurityPlus\ClamAVPlugin\conf\clamd.conf
    • \MDaemon\SecurityPlus\ClamAVPlugin\conf\freshclam.conf
    • \MDaemon\SpamAssassin\rules\local.cf
    • \MDaemon\WebAdmin\webadmin.ini
    • \MDaemon\WorldClient\worldclient.ini
    • \MDaemon\WorldClient\autodiscover.ini
  5. Install the same version of MDaemon that was installed on the previous server.
    **NOTE - The server configuration, user directories, and other modifications are NOT changed when running the installer.Click here for prior versions of MDaemon
    **NOTE - Please be sure the MDaemon service/application is not running on the new server.

  6. Next MDaemon's dirreorg tool must be ran to compile the changes made to the dat/ini files
    • Open a command prompt
    • Navigate to the \MDaemon\App directory using the cd command
    • Enter dirreorg /f
    • Start MDaemon

Additional Comments

If you are changing your IP address(es) in addition to moving, the MDaemon.ini, Domains.dat, and/or Gateways.dat will need to be updated with the new IP address(es). 

If you are using a third party SSL certificate, that certificate will need to be exported from the Windows Certificate Store and moved to the new machine as well in order to continue using it. The above process will not move it for you.