issue on windows ports after migrating smartermail
Problem reported by Paolo Biondi - Today at 8:57 AM
Submitted
Dear Smartermail Users,
I installed a smartermail build 9526 on a new server (windows 2022) cause I need to upgrade our hardware from the old server (same build 9526).

First attempt:
following these instructions:
portal.smartertools.com/kb/a2724/migrate-smartermail-to-a-different-server.aspx
After following that guide my new server has all the bindings ports closed on windows, impossibile to open them

Second attempt:
Installed clean smartermail on new server, just copied only these 2 files from the old server smartermail installation folder to the new one:
C:\Program Files (x86)\SmarterTools\SmarterMail\Service\domainList.xml
C:\Program Files (x86)\SmarterTools\SmarterMail\Service\Settings\domains.json
I also copied all the data files (domains, logs etc...):
d:\smartermail\
When I finish this configuration the local ports of windows (25,110,465, 587 etc...) were all opened (I tested calling the port from outside). 
After that through web interface on the new server I setted up same configurations as the old server. Then I leave the server alone for 2 days, today all the ports on windows are closed and the mail server isn't reachable from outside, only trorugh web interface. The ports on the firewall are opened.

By any chance, have any of you managed to migrate from smartermail to smartermail from an old to a new server without encountering these problems?

Regards,
Davide
Douglas Foster Replied
I have migrated several times, successfully.
I think the problem you experienced occurs when the IP address is changing.   To remove SmarterMail port mappings from an IP address, the IP address has to be visible to SmarterMail.    Use this process:

Boot the migrated system
Disconnect from the network if necessary to avoid an IP address conflict.
Add the old IP address as an additional address on the network adapter.
Reconfigure SmarterMail port mappings to ignore the old IP and use the new IP.
Shutdown SmarterMail service, remove old IP from the network adapter, shut down system.
Restore network connectivity
Perform a clean boot.

Reply to Thread

Enter the verification text