Increase roundcube 2 MB limit

NethServer Version: NethServer release 7.6.1810

Good evening guys, can I increase the 2 megabyte limit set on roundcube, to import eml files?

hi

Please check

[root@prometheus ~]# config show php
php=configuration
    AllowUrlFopen=On
    DateTimezone=Europe/Paris
    ExposePhp=
    MaxExecutionTime=0
    MaxFileUpload=20
    MaxInputTime=60
    MemoryLimit=128
    PostMaxSize=8
    ShortOpenTag=
    UploadMaxFilesize=2

to change

config setprop php UploadMaxFilesize 10
signal-event nethserver-php-update
2 Likes

What about exposing some PHP config props in the Cockpit app? Under “Advanced…” :thinking:

1 Like

Thank so much

Yep got it in mind and in a second time, make a panel in cockpit for my php scl modules

Good evening, only now I had the time to make the suggested change and it works.
Only problem is that roundcube imports only 20 emails at a time.
Is there a way to import entire folders? or at least many more emails at a time.
Thanks in advance

I guess check the

   MaxFileUpload=20

but probably you need also to increase the

    MemoryLimit=128

and maybe

MaxInputTime=60
PostMaxSize=8