Roundcube mail client how to increase attachment file size

My YunoHost server

Debian 5.10.0.-19-amd64

Hardware: VPS bought online

YunoHost version: 11.0.10.2

I have access to my server : Through SSH

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I would like to be able to attach files to my emails with
more than 2MB in size.

Roundcube (1.6.0~ynh3 ) does not let me upload files larger than 2MB in size.

There is no User configuration panel in Yunohost that lets me
configure this parameter for Roundcube.

Searching Roundcube related topics does not provide any good answers. For example, it suggests to modify /etc/php.ini

Which would not work Yunohost.

Looking at Yunhost adaption repository for this application:

talks about extending/modifying Roundcube configuration

"…

Configuration

You can extend - or even override - the Roundcube configuration which is coming with this package in the file conf/local.inc.php. Do not edit the file conf/config.inc.php as future upgrades will overwrite it.
…"

However the above does not really help either
As it is not clear what parameters can be stored in this configuration file.

Then, I found a pull request

that seems to indicate that there is yet another configuration file
that could be created : extra_php-fpm.con

So I created that file in
/etc/yunohost/apps/roundcube/conf

with this content:
[APP]
upload_max_filesize = 100M
post_max_file_size = 100M

The above however did not help, it seems the attachment is still
2mb.

Therefore wanted to ask on the forum, what is the solution.

Thank you in advance

1 Like

just wanted to check on the above, am I the only one running into this issue, or most people are ok with 2mb upload limit on roundcube?

I also have this issue, but what to do :wink: I am kind of fatalist…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.