Discussion:
[horde] Import of mbox failes
Bastian Klein
2014-05-21 18:48:38 UTC
Permalink
Hi @ all.

I started to migrate a sample mailbox to my new horde installation.
I have a 4 MB mbox file of a folder but cant import it.

System says:

"There was a problem with the file upload: The mailbox file was larger
than the maximum allowed size (1073741824 bytes)"

First there was a 2 MB php upload limit i ran into. But now i changed
php to 1 GB Upload Limit.
Horde seems to recognize this new limit but still doest not import my
4mb mbox file.

message_size_limit = 30720000
mailbox_size_limit = 0
virtual_mailbox_limit = 0

Any ideas?

Thanks in advance,
Bastian
Michael M Slusarz
2014-05-21 21:45:02 UTC
Permalink
Post by Bastian Klein
I started to migrate a sample mailbox to my new horde installation.
I have a 4 MB mbox file of a folder but cant import it.
IMP is not going to be the correct way to "import" large mailboxes -
at least from the web interface (due to resource/time limitation on
web processes).
Post by Bastian Klein
"There was a problem with the file upload: The mailbox file was
larger than the maximum allowed size (1073741824 bytes)"
That's a PHP error. It is reporting either UPLOAD_ERR_INI_SIZE or
UPLOAD_ERR_FORM_SIZE error code in the $_FILES array.
Post by Bastian Klein
message_size_limit = 30720000
mailbox_size_limit = 0
virtual_mailbox_limit = 0
These aren't PHP (or even Horde/IMP) settings.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]
Bastian Klein
2014-05-21 21:55:29 UTC
Permalink
Post by Bastian Klein
I started to migrate a sample mailbox to my new horde installation.
I have a 4 MB mbox file of a folder but cant import it.
IMP is not going to be the correct way to "import" large mailboxes - at
least from the web interface (due to resource/time limitation on web
processes)
4 MB is not what i would call "large" . Just 40 mails or so ...
Post by Bastian Klein
"There was a problem with the file upload: The mailbox file was larger
than the maximum allowed size (1073741824 bytes)"
That's a PHP error.? It is reporting either UPLOAD_ERR_INI_SIZE or
UPLOAD_ERR_FORM_SIZE error code in the $_FILES array.
Yes BUT as you can see PHP Limit was set to 1 GB - mbox File was 4 MB
Post by Bastian Klein
message_size_limit = 30720000
mailbox_size_limit = 0
virtual_mailbox_limit = 0
These aren't PHP (or even Horde/IMP) settings.
These are postfix settings, just to confirm that my "mailbox" is
unlimeted (There error sais "mailbox file was larger than the maximum
allowed")
I cant explain why, but after i imported this mailbox file successfully
in basic view, all other imports in dynamic view where working ...so
error disappeared while searching....
regards,
Bastian
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
--
Horde mailing list
horde-unsubscribe at lists.horde.org
ANANT S ATHAVALE
2014-05-22 03:54:12 UTC
Permalink
----- Message from Michael M Slusarz <slusarz at horde.org> ---------
Date: Wed, 21 May 2014 15:45:02 -0600
From: Michael M Slusarz <slusarz at horde.org>
Subject: Re: [horde] Import of mbox failes
To: horde at lists.horde.org
Post by Michael M Slusarz
Post by Bastian Klein
I started to migrate a sample mailbox to my new horde installation.
I have a 4 MB mbox file of a folder but cant import it.
IMP is not going to be the correct way to "import" large mailboxes -
at least from the web interface (due to resource/time limitation on
web processes).
Post by Bastian Klein
"There was a problem with the file upload: The mailbox file was
larger than the maximum allowed size (1073741824 bytes)"
That's a PHP error. It is reporting either UPLOAD_ERR_INI_SIZE or
UPLOAD_ERR_FORM_SIZE error code in the $_FILES array.
Post by Bastian Klein
message_size_limit = 30720000
mailbox_size_limit = 0
virtual_mailbox_limit = 0
These aren't PHP (or even Horde/IMP) settings.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
----- End message from Michael M Slusarz <slusarz at horde.org> -----

Please suggest a way to import large mailboxes for Cyrus IMAP.
--
Regards
Anant
Steffen
2014-05-22 07:45:39 UTC
Permalink
Post by ANANT S ATHAVALE
Please suggest a way to import large mailboxes for Cyrus IMAP.
http://imap-upload.sourceforge.net/
http://serverfault.com/questions/167885/how-to-upload-an-mbox-file-to-an-imap-server

and similiar tools
--
Steffen
Christian Schmidt
2014-05-22 09:39:24 UTC
Permalink
Post by Steffen
Post by ANANT S ATHAVALE
Please suggest a way to import large mailboxes for Cyrus IMAP.
http://imap-upload.sourceforge.net/
http://serverfault.com/questions/167885/how-to-upload-an-mbox-file-to-an-imap-server
and similiar tools
What about using Mozilla Thunderbird to upload the mails via IMAP?

Regards,
Christian
--
No signature available.
Loading...