Migration Tool?

Discussions on webmail and the Professional version.
jahntassa
Posts: 6
Joined: Thu Feb 05, 2009 3:46 pm

Migration Tool?

Post by jahntassa »

Need to move some accounts from our exchange server to mailenable. According to here: http://www.mailenable.com/kb/content/vi ... D=ME020340

There should be a migration tool, but I can't find it.

Just updated from 3.04 to 3.6. Where can I find the migration tool if it isn't showing up in the start menu?

Many Thanks!

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

Hi, You will need to install again just use the 3.6 as you did earlier and when it asks to install the components make sure you place a tick in the Migration option.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Migration Capture Utility

Post by ayjayef »

I'm jumping on this thread instead of creating another.

I'm testing the migration tool on a new server and I have to say I was pretty excited when I saw the accounts and the domains get created under the Postoffice.

I have selected:
Capture and create new mailbox where login is valid on remote server and not locally.

That part works REALLY WELL!

but... it isnt bringing the users mail across.

Windows 2003R2 Standard server
MailEnable 3.61 Enterprise

I'm using the migration utility that comes with V3.61 Enterprise and it has an option

Migrate mailbox messages from remote server when user authenticates

But all I get is the single new user email.

I'm using POP3 (port 110) not IMAP (port 143) for the migration util and the account gets created ok so the passwords, IP's and ports are all correct.

I have restarted ME services and have rebooted too after configuring the migtation tool.

I even tried (after removing the imported mail domain and \config\capture\auth file) doing the POP3 from the command line. Once again it created the domain and user account but didnt import mail.

Code: Select all

02/27/09 19:28:32	POPS	500	127.0.0.1		+OK Welcome to MailEnable POP3 Server		39	0
02/27/09 19:29:05	POPS	500	127.0.0.1	USER	USER sales@blahblah.com	+OK	0	34
02/27/09 19:29:10	POPS	500	127.0.0.1	PASS	PASS *	+OK	0	17
02/27/09 19:29:14	POPS	500	127.0.0.1	LIST	list	LIST	23	6
02/27/09 19:29:20	POPS	500	127.0.0.1	RETR	retr 1	+OK 5150 octets	5172	8
02/27/09 19:29:23	POPS	500	127.0.0.1	LIST	list	LIST	23	6
02/27/09 19:29:40	POPS	500	127.0.0.1	RSET	rset	+OK	0	6
02/27/09 19:29:41	POPS	500	127.0.0.1	QUIT	quit	+OK Goodbye	0	6


What else can I try to trigger the POP3 collection?

[/code]

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

Hi,
The utility will use the IMAP service to transfer the mail so this service has to be running on the remote server. The account information will be created when ever an account correctly authenticates using any service.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Post by ayjayef »

Thanks Ben, that makes sense why it didnt pull the mail.

So how could I get / create a utility to do the same with POP3? The sever has 1000's of accounts and they all POP3 currently.

Or is it possible for the user to hit the new server using POP3 and then the utility will proxy request an IMAP connection?

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

You could get the users to set up the POP Connector service from within web mail to connect to their old email box and then download the messages.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Post by ayjayef »

Hmmm... interesting idea.

Is there any way of scripting that when the new account is created so we don't have to try and educate 1000's of users (that would be a nightmare!)

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

You can create the entries into the following TAB delimited file;

D:\Program Files\Mail Enable\CONFIG\POPRETREIVER.TAB

If you create a couple you can get the layout. But here is an example;

Code: Select all

1	test.com	ben	0	110	xxx.xxx.xxx.xxx	POP-Username	POP-Password	0	-1	-1	0	209CE4CCAB8A492CA7F066DB321683
The last string just needs to be unique
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Post by ayjayef »

Is there any chance of a Mail Enable utility to automate the migration from a POP3 server?
The deeper I get down this path the more it seems that others could use a POP3 migration tool too.

On a different approach and assuming that I could get the existing server to do IMAP...
Is there a way that I could proxy the users POP3 request on the new server to a "once off" IMAP request on the old server?

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

Sorry not likely at this time. You may need to give some thought to the change over time between the servers for best effect or even break the domains up and change over in groups.

On a different approach and assuming that I could get the existing server to do IMAP...
Is there a way that I could proxy the users POP3 request on the new server to a "once off" IMAP request on the old server?
No the service will only migrate over by porting from an IMAP service. This was done due to the chance of mailboxes having multiple folders not only the Inbox as is the case with POP.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Post by ayjayef »

his was done due to the chance of mailboxes having multiple folders not only the Inbox as is the case with POP
Ahhhh yes, that makes sense.

Still, for us getting all the mail across to the new server is the biggest issue and I had no joy with the Mbox-Mdir utility (which would be too manual anyway).

Can you think of a way that we could trigger a once off IMAP sync between the servers after the user does their 1st POP3 to the new server?

At that point ME knows the username and password and I guess the request just needs "formatting" into a IMAP request. At least all their old email would be available via the ME-Webmail that way.

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

Can you think of a way that we could trigger a once off IMAP sync between the servers after the user does their 1st POP3 to the new server?
This is what the utility does. It allows you to login using any authentication method ie web mail, POP, IMAP and will then pull the messages over via IMAP. Once you have done all the migration you can simply turn of the migration tool.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Post by ayjayef »

MailEnable-Ben wrote:
This is what the utility does. It allows you to login using any authentication method ie web mail, POP, IMAP and will then pull the messages over via IMAP. Once you have done all the migration you can simply turn of the migration tool.
Hmmm... that certainly didnt happen or I wouldnt have started this discussion. Now I know thats how it should work I'll look at it differently.

My first post above (with the logging) was done against a server that does have IMAP enabled and it certainly didnt try and pull IMAP mail.

I'll go back and troubleshoot the utility and try and see why it didnt do the IMAP sync. Can you offer any tips on where I should be looking for the IMAP connection in the logging? Should I turn on a debug somewhere?

ayjayef
Posts: 20
Joined: Thu Nov 02, 2006 11:09 pm

Post by ayjayef »

I'll go back and troubleshoot the utility and try and see why it didnt do the IMAP sync.

Can you offer any tips on where I should be looking for the IMAP connection in the logging? Should I turn on a debug somewhere?
Well I cannot find anything to say that it even tried the connection.

The "testing" old server is ME Pro and IMAP works ok on it.

The new server is ME Enterprise with the migration tool pointing to the old server.

I used webmail on the new server, it created the account but according to the IMAP logs on the old server it never tried to pull the mail.

On the old server nothing shows in the IMAP logs, and this shows in the POP3 logs:

Code: Select all

03/06/09 14:54:38	POPS	360	210.9.8.137		+OK+Welcome+to+MailEnable+POP3+Server		39	0
03/06/09 14:54:38	POPS	360	210.9.8.137	USER	USER+test1@green.com.au	+OK	0	30
03/06/09 14:54:38	POPS	360	210.9.8.137	PASS	PASS+*	+OK	0	11



Any clues please?
(I know its a long weekend in Melb and it will be a good chance to sort this out for me).[/code]

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben »

Here is a test I just did that outlines steps that should help;

Setup two machines

Source - Configuration and data I want to migrate from
Destination - Server I want to migrate to

Turned on the migration tool on the Destination server with the following settings;

Configure remote server
IMAP
xxx.xxx.xxx.xxx
143

Create new mailbox where login is valid on remote server and not locally

Migrate mailbox messages from remote server when user authenticates
- Migrate mailboxes that already exist under MailEnable

Make sure if you have tried to migrate with machines before and it has failed that you read the message on the utility (the one below)

Any mailbox migration that has been attempted before will not be performed again. you must delete the users migration log file from the
following directory Config\Migrate directory if you wish to migrate the user again.


SAVE SETTINGS AND RESTART ALL SERVICES

Next was to login to the destination server with an account on the source server using the pop service.

For this test I did a telnet with an outcome like the following;

Code: Select all

+OK Welcome to MailEnable POP3 Server <3368.2319234@bensvdtest>
user test1000@mailenable
+OK
pass pass
+OK
I then went and checked the destination server for the mailbox migration file to see the results;

Location: Program Files\Mail Enable\CONFIG\Migrate\test1000@mailenable (Open in Notepad)

Code: Select all

03/06/09 15:39:26	Commenced Migrating Folders	2 Items
03/06/09 15:39:26	INBOX	10 Items
03/06/09 15:39:28	Public	0 Items
03/06/09 15:39:28	Completed Migrating Folders	2 Items
Migration appears successful I then went to check the destination server for the mail to confirm;

Yes I see messages with low message IDs such as

1.mai
2.mai
3.mai
4.mai
etc

This shows the messages that were migrated.

Here are the logs:

Source Debug Log for AUTH and Migrate

Code: Select all

03/06/09 15:39:27	Authenticating User:test1018 using Authentication Provider Credentials
03/06/09 15:39:27	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:27	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:27	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:27	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:27	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:27	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:28	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:28	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:28	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:28	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:39:29	--> SetEvent:Notify: Target: 608, Result=0
03/06/09 15:40:45	Notification thread created. TermEvent=672, EventNotify=676

Destination Debug Log for AUTH

Code: Select all

/06/09 15:40:29	POPS	448	192.168.2.1		+OK Welcome to MailEnable POP3 Server <3368.2319234@bensvdtest>		65	0
03/06/09 15:40:41	POPS	448	192.168.2.1	USER	user test1000@mailenable	+OK	0	26
03/06/09 15:40:44	POPS	448	192.168.2.1	PASS	PASS *	+OK	0	11
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

Post Reply