You can upload mail using files in MIME or Mbox format.

To import email using the Roundcube webmail interface:

  • Ensure that you have recreated the email account you wish to import via Email > Create an Email Account.
  • Visit Email >> Email Accounts and select the email address.
  • Click Check Email
  • Click the gear option in the bottom right.
  • From the folder menu select "Import Messages"
  • A popup to select the file for uploading will come up.
  • Select the file by clicking "Browse" to use the file picker.
  • With a file selected click the "OK" button and Roundcube will begin the upload and import.

 

Potential issue(s): Unable to import large mbox file in cPanel's Webmail

It may so happen that when trying to import a mbox mailbox file in cPanel's Webmail, the error "No file Found" or "No Input File" is returned.

You may see errors in your PHP error log file similar to the ones below:

[29-June-2023 22:39:53 America/Chicago PHP Warning:  POST Content-Length of 226216813 bytes exceeds the limit of 57671680 bytes in Unknown on line 0
[29-June-2023 22:42:28 America/Chicago] PHP Warning:  POST Content-Length of 226216813 bytes exceeds the limit of 57671680 bytes in Unknown on line 0
[29-June-2023 22:45:28 America/Chicago] PHP Warning:  POST Content-Length of 226216813 bytes exceeds the limit of 57671680 bytes in Unknown on line 0

The reason is likely due to the settings in the 3rd party php.ini which may not be sufficient for the upload file.

 

To resolve that, increase the php.ini limits.

From cPanel > Software and select the MultiPHP INI Editor.

If using altPHP, use the Select PHP Version, then Options.

Make changes to these values:

  • upload_max_filesize
  • post_max_size
  • memory_limit

Extra care should be taken when making changes to these values. Read the descriptions carefully before applying the change.

If you are unable to make the changes, please contact our technical support team.

You may need to upload these in batches and in less than (to be on the safe side) 56MB sizes.

Moreover, we made to restart some services for the changes to take effect.

 

If these email messages are from a cPanel-generated backup (for example if you are a reseller or have just been migrated), please contact us so we can help you import them.

Cette réponse était-elle pertinente? 0 Utilisateurs l'ont trouvée utile (0 Votes)