1

Topic: unable to import emails into roundcube

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.1 PGSQL edition
- Deployed with iRedMail Easy or the downloadable installer? Easy
- Linux/BSD distribution name and version: CentOS 8.5.2111

- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I'm attempting to import a zip file of .eml emails into roundcube. Server looses connection if zip or .eml file is larger thank 10mb.
I've looked at the following:
https://forum.iredmail.org/topic464-ire … -size.html

but cannot get it to work.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.

2

Re: unable to import emails into roundcube

nginx uses other php.ini, since it uses FPM

/etc/php/fpm/php.ini

change it there and restart everything, this should work

3

Re: unable to import emails into roundcube

Cthulhu wrote:

nginx uses other php.ini, since it uses FPM

/etc/php/fpm/php.ini

change it there and restart everything, this should work

Thanks for your comment. However it tells me that file does not exist. Do I need to create it?

4

Re: unable to import emails into roundcube

find / -name "php.ini"

it should show you all locations of php.ini on your system

5

Re: unable to import emails into roundcube

yup, just the one location: /etc/php.ini

upload_max_filesize = 100M;
post_max_size = 100M

When I import the import messages infobox where I select the file to import says "Maximum allowed file size is 100 MB" yet when I try to import anything larger than 10MB, a little red banner appears bottom right screen that says Server error (error)

6

Re: unable to import emails into roundcube

thats due to the nginx restriction:

client_max_body_size 100M;