Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: sujith0602 on August 06, 2012, 11:42:08 AM

Title: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 06, 2012, 11:42:08 AM
Hi,
 How to migrate user accounts and mails from Clearos to SME 8 server
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 06, 2012, 12:25:22 PM
hi

create all users on SME server then use imapsync to migrate mails

HTH
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 06, 2012, 12:35:30 PM
Thank you for your reply. Will the mail format of clearos support SME?
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 06, 2012, 01:19:29 PM
as long as you transfer/migrate emails via imap access, yes
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 06, 2012, 01:39:51 PM
Thank you Stefano, I will try it and get back to you.
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 07, 2012, 09:08:17 AM
Do we have to install imapsync in both the clearos and sme?
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 07, 2012, 09:15:32 AM
no.. you can install it on SME or on ClearOS.. it doesn't matter
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 07, 2012, 09:31:54 AM
Thank you, so can we do the migration process from clearos itself? As in my case the clearos is the source
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 07, 2012, 09:34:30 AM
yes, of course
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 07, 2012, 11:35:30 AM
I am getting authentication error while doing imapsync in the clearos
I am unable to post the screen shot. why do the authentication error occur even as we have created the passfile with the correct password.
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 07, 2012, 12:02:31 PM
you forgot to tell us which server gives you auth error.. ClearOs or SME? are you using imap? imaps?
is your SME in server-only or server & gateway mode? are the servers in the same subnet?

what kind of auth are you using? did you read carefully imapsync's documentation?
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 07, 2012, 12:25:56 PM
yes both the servers are in the same subnet mask, we get the authentication error in the clearos and I have installed imapsync in the clearos itself and have created passfile for both the accounts so while trying to migrate the mails we get the authentication error in the clearos which is the source server(server1). Can you please tell me how to attach a file? so I can provide you with the screen shot
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 07, 2012, 12:45:26 PM
if you have auth problems with ClearOS, you should ask for support on their support forums/mailing list..

instead of posting a screenshot, paste the error message (use the [ code ] tag)
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 08, 2012, 11:26:06 AM
Thank you very much stefano it worked well really, I wouldn't have done it without your help and one more help i need is what is the protocol to migrate the mails of multiple users to the users in other imap account
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 08, 2012, 11:48:28 AM
what is the protocol to migrate the mails of multiple users to the users in other imap account

please define.. it's not clear to me
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 08, 2012, 12:31:56 PM
I am migrating the mails of the users from clearos to sme, so by using imapsync how can we migrate the mails of all the users at a time
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 08, 2012, 12:36:48 PM
you must create a script that loops all the users
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 09, 2012, 11:12:41 AM
Thank you Stefano, I will try that too meanwhile I have to know whether calendar facility is there in SME 8, for which we can create an event or a task on a particular date and time, and can select specified members to invite and view the task as well.
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 09, 2012, 11:32:38 AM
if you need such a feature, you need SOGo (http://wiki.contribs.org/sogo)
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 09, 2012, 02:16:22 PM
ok, I will try it now back to the migration process can you reply with a link with the guidance how to create a loop file for all the users
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 09, 2012, 03:50:31 PM
search the web for bash scripting loops.. there are tons of examples
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 10, 2012, 10:17:53 AM
I got one I did it successfully Thank you very much again :-D  8)
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 10, 2012, 12:04:42 PM
[joke]I should really send you an invoice.. :-)[/joke]
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 11, 2012, 09:53:16 AM
ha.. ha .. :shock: anyway thanks for your support I will always catch you whenever I have trouble..
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 14, 2012, 10:59:39 AM
Hi stefano when I am trying to install imapsync in a new sme server I get a message as follows

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  19 M RSS (212 MB VSZ)
    Started: Tue Aug 14 14:16:22 2012 - 07:22 ago
    State  : Sleeping, pid: 4735
I know you definitely have a solution for this
Title: Re: How to migration of mails from Clearos to SME 8
Post by: Stefano on August 14, 2012, 12:40:42 PM
be sure your new server can connect to internet.. and search the forums before asking, please ;-)
Title: Re: How to migration of mails from Clearos to SME 8
Post by: sujith0602 on August 14, 2012, 01:33:43 PM
sure thank you