Migrate from other mail server
-
Hello,
Anyone know how to import a user account including their mailbox from other mail server into mdaemon?
-
Arron Staff
If the other server supports ActiveSync, you can use the ActiveSync Migration Client to migrate the mailbox data.
You can find documentation for MDaemon\App\ASMC.exe at MDaemon/Docs/ActiveSync Migration Client.html
If you'd prefer to use a UI instead of a command line utility you can run MDaemon\app\ASMCUI.exe.
There are also numerous free IMAP migration tools available on the internet that you can use.
-
i got this error, anyone know why?
231011 084635770 W [2BE90F3A] 0x8160201A Unable to verify supported protocol versions
-
Arron Staff
What does the log show happening before that message is logged?
I believe it means that the server either doesn't support or doesn't advertise support for ActiveSync protocol 14.1.
-
The logs is
231011 084633706 I [2BE90F3A] 0x41602000 Migration starting: user1@domain.local
231011 084633707 I [2BE90F3A] 0x41602010 Logon: user1@domain.local
231011 084633707 I [2BE90F3A] 0x41602011 Operation: Migration
231011 084633708 D [2BE90F3B] 0x41601A20 Interrogating Server: localhost:80://Microsoft-Server-ActiveSync/
231011 084633709 I [2BE90F3B] 0x41602010 Logon: user1@domain.local
231011 084633709 I [2BE90F3B] 0x41602011 Operation: OPTIONS
231011 084634714 G [00000001] 0x4160101E Progress: 0 Completed, 1 Processing, 0 Queued
231011 084634714 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:257 ^WS:13072KB WS:13064KB ^PP:178KB PP:177KB ^NPP:18KB NPP:18KB ^PFU:3700KB PFU:3700KB
231011 084635766 D [2BE90F3B] 0x4160201B OPTIONS Response Header: HTTP/1.1 200 OK
231011 084635766 D [2BE90F3B] 0x4160201B OPTIONS Response Header: Connection: keep-alive
231011 084635767 D [2BE90F3B] 0x4160201B OPTIONS Response Header: Date: Wed, 11 Oct 2023 01:46:35 GMT
231011 084635767 D [2BE90F3B] 0x4160201B OPTIONS Response Header: Allow: OPTIONS,POST
231011 084635767 D [2BE90F3B] 0x4160201B OPTIONS Response Header: Content-Length: 0
231011 084635768 D [2BE90F3B] 0x4160201B OPTIONS Response Header: Server: Microsoft-IIS/7.5
231011 084635768 D [2BE90F3B] 0x4160201B OPTIONS Response Header: X-TransactionID: 98b7bdab-b6b0-bdf4-94b8-b0b5f3d9d9d9
231011 084635768 D [2BE90F3B] 0x4160201B OPTIONS Response Header: X-Content-Type-Options: nosniff
231011 084635768 D [2BE90F3B] 0x4160201B OPTIONS Response Header: X-XSS-Protection: 1;mode=block
231011 084635769 D [2BE90F3B] 0x4160201B OPTIONS Response Header: Public: OPTIONS,POST
231011 084635769 D [2BE90F3B] 0x4160201B OPTIONS Response Header: MS-Server-ActiveSync: 15.20
231011 084635769 D [2BE90F3B] 0x4160201B OPTIONS Response Header: MS-ASProtocolVersions: 1.0,2.0,2.1,2.5,12.0,12.1,14.0,14.1
231011 084635770 D [2BE90F3B] 0x4160201B OPTIONS Response Header: MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Search,Settings,Ping,ItemOperations,Provision,ResolveRecipients,ValidateCert
231011 084635770 D [2BE90F3B] 0x41602013 HTTP Status: 200.0/OK
231011 084635770 W [2BE90F3A] 0x8160201A Unable to verify supported protocol versions
231011 084635771 E [2BE90F3A] 0xC1602008 Migration failure: user1@domain.local : 0 items
231011 084636745 G [00000001] 0x4160101E Progress: 1 Completed, 0 Processing, 0 Queued
231011 084636746 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:242 ^WS:13196KB WS:13088KB ^PP:178KB PP:177KB ^NPP:18KB NPP:17KB ^PFU:3720KB PFU:3560KB
231011 084636747 G [00000001] 0x4160E000 Terminating
231011 084636748 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:242 ^WS:13196KB WS:13088KB ^PP:178KB PP:177KB ^NPP:18KB NPP:17KB ^PFU:3720KB PFU:3560KB
231011 084636748 G ActiveSync Protocol Migration Client (64bit) for MDaemon Messaging Server 23.5.0.1 Log file stopping
-
Arron Staff
That error should only be logged when the server doesn't support the required protocol version or the required protocol commands. The log shows that both are supported.
We have created a new version of ASMC.exe with additional logging. Can you run this version and post the log that is generated?
You can download the new ASMC.exe from https://mdaemon.sharefile.com/d-se289e6b55725490089c67d987dd3b6fb.
-
Hi..
Here new log after using new ASMC.exe
231013 080502498 G [00000000] ActiveSync Protocol Migration Client (64bit) for MDaemon Messaging Server 23.5.1.2a Log file starting
231013 080502498 G [00000000] Build timestamp : Oct 11 2023 12:03:25
231013 080502498 G [00000000] Beta Software : Log Level overridden to LOG_DEBUG
231013 080502498 G [00000000] 0x41350011 0x00000009
231013 080502498 G [00000000] 0x41350010 C:\MDaemon\Users\domain.local\ASMC_231013080502.INI
231013 080502497 G [00000001] 0x41601000 Initializing
231013 080502498 G [00000001] 0x41601001 You can automatically view this log in the MDaemon Advanced Log Viewer by using the /ViewLog command line parameter
231013 080502622 G [00000001] 0x41601002 Runtime Parameter: Audio=No
231013 080502622 G [00000001] 0x41601002 Runtime Parameter: ConnectTimeout=30
231013 080502623 G [00000001] 0x41601002 Runtime Parameter: DisableAccounts=No
231013 080502623 G [00000001] 0x41601002 Runtime Parameter: DNSTimeout=15
231013 080502624 G [00000001] 0x41601002 Runtime Parameter: FolderTypes=
231013 080502624 G [00000001] 0x41601002 Runtime Parameter: GPI=60000
231013 080502625 G [00000001] 0x41601002 Runtime Parameter: Ice=No
231013 080502625 G [00000001] 0x41601002 Runtime Parameter: IgnoreGetOofErrors=No
231013 080502625 G [00000001] 0x41601002 Runtime Parameter: IgnoreGetUserInfoErrors=No
231013 080502626 G [00000001] 0x41601002 Runtime Parameter: ImportFile=C:\temp\user.csv
231013 080502627 G [00000001] 0x41601002 Runtime Parameter: InputFile=C:\temp\ad.txt
231013 080502627 G [00000001] 0x41601002 Runtime Parameter: LogFile=C:\temp\log.txt
231013 080502628 G [00000001] 0x41601002 Runtime Parameter: LogLevel=1
231013 080502628 G [00000001] 0x41601002 Runtime Parameter: MDLogon=
231013 080502629 G [00000001] 0x41601002 Runtime Parameter: MDPassword=
231013 080502629 G [00000001] 0x41601002 Runtime Parameter: MDServer=
231013 080502630 G [00000001] 0x41601002 Runtime Parameter: OutDir=C:\MDaemon\Users\domain.local
231013 080502630 G [00000001] 0x41601002 Runtime Parameter: RebuildReminders=No
231013 080502631 G [00000001] 0x41601002 Runtime Parameter: ReceiveTimeout=60
231013 080502632 G [00000001] 0x41601002 Runtime Parameter: ReSync=No
231013 080502632 G [00000001] 0x41601002 Runtime Parameter: SendTimeout=60
231013 080502634 G [00000001] 0x41601002 Runtime Parameter: SSL=No
231013 080502634 G [00000001] 0x41601002 Runtime Parameter: TestMode=No
231013 080502635 G [00000001] 0x41601002 Runtime Parameter: ThreadCount=4
231013 080502635 G [00000001] 0x41601002 Runtime Parameter: ViewLog=No
231013 080502636 G [00000001] 0x41601002 Runtime Parameter: WBXML=No
231013 080502636 G [00000001] 0x41601002 Runtime Parameter: WindowSize=10
231013 080502637 G [00000001] 0x41601002 Runtime Parameter: XmlDir=
231013 080502637 G [00000001] 0x4160101C Writing Import file C:\temp\user.csv
231013 080502638 G [00000001] 0x41601018 Using 4 concurrent migration threads
231013 080502639 G [00000001] 0x4160101A Retrieving up to 10 items per server transaction (may be limited by source server settings)
231013 080502639 G [00000001] 0x4160101B *Folder types to migrate: *
231013 080502641 I [00000001] 0x41601010 Loading input file: C:\temp\ad.txt
231013 080502641 I [00000001] 0x41601012 Loaded Record: localhost/user1@domain.local ***********************
231013 080502642 I [00000001] 0x41601014 1 Input Records Loaded
231013 080502650 G [00000001] 0x4160101E Progress: 0 Completed, 1 Processing, 0 Queued
231013 080502651 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:135 ^WS:7632KB WS:7632KB ^PP:140KB PP:140KB ^NPP:11KB NPP:11KB ^PFU:2240KB PFU:2232KB
231013 080502804 I [360B3382] 0x41602000 Migration starting: user1@domain.local
231013 080502804 I [360B3382] 0x41602010 Logon: user1@domain.local
231013 080502806 I [360B3382] 0x41602011 Operation: Migration
231013 080502807 D [360B3383] 0x41601A20 Interrogating Server: localhost:80://Microsoft-Server-ActiveSync/
231013 080502807 I [360B3383] 0x41602010 Logon: user1@domain.local
231013 080502808 I [360B3383] 0x41602011 Operation: OPTIONS
231013 080503666 G [00000001] 0x4160101E Progress: 0 Completed, 1 Processing, 0 Queued
231013 080503667 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:252 ^WS:11772KB WS:11760KB ^PP:172KB PP:172KB ^NPP:18KB NPP:18KB ^PFU:3560KB PFU:3560KB
231013 080504842 D [360B3383] 0x4160201B OPTIONS Response Header: HTTP/1.1 200 OK
231013 080504843 D [360B3383] 0x4160201B OPTIONS Response Header: Connection: keep-alive
231013 080504843 D [360B3383] 0x4160201B OPTIONS Response Header: Date: Fri, 13 Oct 2023 01:05:04 GMT
231013 080504843 D [360B3383] 0x4160201B OPTIONS Response Header: Allow: OPTIONS,POST
231013 080504844 D [360B3383] 0x4160201B OPTIONS Response Header: Content-Length: 0
231013 080504844 D [360B3383] 0x4160201B OPTIONS Response Header: Server: Microsoft-IIS/7.5
231013 080504844 D [360B3383] 0x4160201B OPTIONS Response Header: X-TransactionID: 9bb4bea8-b5b3-bef7-97bb-b3b6f0dadada
231013 080504845 D [360B3383] 0x4160201B OPTIONS Response Header: X-Content-Type-Options: nosniff
231013 080504845 D [360B3383] 0x4160201B OPTIONS Response Header: X-XSS-Protection: 1;mode=block
231013 080504846 D [360B3383] 0x4160201B OPTIONS Response Header: Public: OPTIONS,POST
231013 080504846 D [360B3383] 0x4160201B OPTIONS Response Header: MS-Server-ActiveSync: 15.20
231013 080504847 D [360B3383] 0x4160201B OPTIONS Response Header: MS-ASProtocolVersions: 1.0,2.0,2.1,2.5,12.0,12.1,14.0,14.1
231013 080504847 D [360B3383] 0x4160201B OPTIONS Response Header: MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Search,Settings,Ping,ItemOperations,Provision,ResolveRecipients,ValidateCert
231013 080504847 D [360B3383] 0x41602013 HTTP Status: 200.0/OK
231013 080504849 W [360B3383] 0x800C007A The data area passed to a system call is too small.
231013 080504849 W [360B3383] 0x800C007A The data area passed to a system call is too small.
231013 080504849 W [360B3383] 0x8160201E Unable to verify support for command 'Settings'
231013 080504850 W [360B3382] 0x800C007A The data area passed to a system call is too small.
231013 080504850 E [360B3382] 0xC1602008 Migration failure: user1@domain.local : 0 items
231013 080505682 G [00000001] 0x4160101E Progress: 1 Completed, 0 Processing, 0 Queued
231013 080505684 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:240 ^WS:11928KB WS:11888KB ^PP:175KB PP:175KB ^NPP:18KB NPP:17KB ^PFU:3596KB PFU:3548KB
231013 080505684 G [00000001] 0x4160E000 Terminating
231013 080505685 G [00000001] 0x4135F002 Diag: Hdl/Mem: HDLCNT:240 ^WS:11928KB WS:11888KB ^PP:175KB PP:175KB ^NPP:18KB NPP:17KB ^PFU:3596KB PFU:3548KB
231013 080505686 G [00000000] ActiveSync Protocol Migration Client (64bit) for MDaemon Messaging Server 23.5.1.2a Log file stopping
-
Arron Staff
My apologies for the delay. I have an updated ASMC.exe available that should correct the issue. If you'd like to try it please download the new file from the URL below:
https://mdaemon.sharefile.com/d-se289e6b55725490089c67d987dd3b6fb
Then go to the MDaemon\app directory and rename the asmc.exe file on disk, and copy the new file to the same location. Then run it again. If you are still getting an error, please post the log.
Thank you,