Limit on email attachment


A client of mine asked me to leave the MB limit of the email attachment the same as that of gmail (25MB).

Does anyone know how I can change it? if not through the panel, someone direct me to the file I need to edit, please!

please spin up a google search for: exim4 set email attachment size

will guide you how to do it, we use a default mail stack.

If you’re using webmail, you’ll probably also need to set it in roundcube config. eg
nano /var/lib/roundcube/.user.ini

# Set some defaults
upload_max_filesize = 25M
post_max_size = 25M