Import mailbox failed

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Import mailbox failed

Postby ppitschmann » Thu Mar 01, 2012 11:35 am

Hello,
I need to import a backupped mailbox of an old user into a new temporary user.
The old user has been deleted so I created a new user to import all messages stored into the backup file.
I tried with # sxmboximp -u "tmp user" -a "/old_mailboxes/olduser.mbox" -s --listlevel folder


the result is:
# Archive file : /old_mailboxes/olduser.mbox
# Archive contents : Old User
# Archive date : 2011-03-15 03:24:28

F-0000464081 3 intern
F-0000511945 3 intern/LT
F-0001414707 3 intern/LT/telefonlistenupdate
F-0000511939 3 intern/PJ
F-0003848931 3 intern/SCIE

# Number of folders : 5
# Number of messages: 0
# Total item size : 0Kb


It seems the messages are not imported!
logging in via webmail i can't see folders and messages.

What can I try?
For me it is not important to recreate a user, only to be able to read the old messages, so any other tool will be welcome

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Re: Import mailbox failed

Postby ppitschmann » Mon Mar 05, 2012 6:19 am

Hello,
I need to import a backupped mailbox of an old user into a new temporary user.
The old user has been deleted so I created a new user to import all messages stored into the backup file.
I tried with # sxmboximp -u "tmp user" -a "/old_mailboxes/olduser.mbox" -s --listlevel folder


the result is:
# Archive file : /old_mailboxes/olduser.mbox
# Archive contents : Old User
# Archive date : 2011-03-15 03:24:28

F-0000464081 3 intern
F-0000511945 3 intern/LT
F-0001414707 3 intern/LT/telefonlistenupdate
F-0000511939 3 intern/PJ
F-0003848931 3 intern/SCIE

# Number of folders : 5
# Number of messages: 0
# Total item size : 0Kb


It seems the messages are not imported!
logging in via webmail i can't see folders and messages.

What can I try?
For me it is not important to recreate a user, only to be able to read the old messages, so any other tool will be welcome


So, someone can help me? :(

echelon
Posts: 126
Joined: Wed Jun 07, 2006 2:45 pm

Re: Import mailbox failed

Postby echelon » Tue Mar 06, 2012 9:53 am

Do you have a full backup of the mail datastore (besides sxmboxexp export?)

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Re: Import mailbox failed

Postby ppitschmann » Wed Mar 07, 2012 4:36 am

The backup was made only using sxmboxexp, nothing more

echelon
Posts: 126
Joined: Wed Jun 07, 2006 2:45 pm

Re: Import mailbox failed

Postby echelon » Wed Mar 07, 2012 9:42 am

Did you try checking e-mail via IMAP or Outlook+Scalix plugin? Do any of the om* commands give you size info about the mailbox?

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Re: Import mailbox failed

Postby ppitschmann » Wed Mar 07, 2012 10:57 am

Yes I tried to check and read the imported mbox via Outlook+Scalix connector , also if the import seems resulting totally failed I tried.
The new user I created for import is working but the folders listed in the result of import and the old messages are not there.

Do you have some other idea?

Hey thanks a lot !

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Re: Import mailbox failed

Postby ppitschmann » Thu Mar 15, 2012 4:44 am

Any other idea?
Someone can give me an hint?

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Re: Import mailbox failed

Postby mikethebike » Thu Mar 15, 2012 8:35 am

Hi,
what do you see if you use omcontain?

DO you have the option to export the mailbox again? Also, what size is the exported mailbox file size?

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Re: Import mailbox failed

Postby ppitschmann » Thu Mar 15, 2012 9:06 am

I do not know how to use omcontain.
This was an old backup, the user/account has been deleted but someone need to access the old mails.
So I cannot export the mailbox again :(

The mbox file I have is 20 Mb and I can read it using a text editor.

I would import the mails in a new created account, it's all

Domenico

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Re: Import mailbox failed

Postby mikethebike » Thu Mar 15, 2012 2:50 pm

increase the event log level to 11 (omconflvl admin 11), then run the import again. Right after doing that, dump the admin event log into a file (omshowlog -s admin -l 11 > /tmp/import.txt), then have a look at that file to see if there are any errors.

For omcontain, that will be in ~/diag directory, just run "omcontain", then the password (A<day of month +10>E), so today that password is A25E

then you can open the user's mailbox, and look through the folders. I have an old document I can send you in pdf that runs through the omcontain utility. PM me with you email address if you would like that.

Mick

SidebandSamurai
Posts: 236
Joined: Sun Jan 08, 2006 10:57 pm

Re: Import mailbox failed

Postby SidebandSamurai » Thu Mar 15, 2012 5:17 pm

What command DID or still DO use to backup the Mailboxes? give us the full command line so we can see what options you are using. I understand you can not backup the mail anymore, but the command you used could be helpful in troubleshooting your problem.

Sincerely,

SidebandSamurai

ppitschmann
Posts: 11
Joined: Fri Aug 18, 2006 6:00 am
Contact:

Re: Import mailbox failed

Postby ppitschmann » Fri Mar 16, 2012 3:27 am

Here is the command:

/opt/scalix/bin/sxmboxexp -F -u "Thomas Schwinden" -a /backup/tschwinden.mbox

All with Scalix was developed yet before I start to work here and I had not the possibility to speak about this with the developer, I am not so expert :(


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests