Increase email attachment size

Discussion in 'HOWTO-Related Questions' started by mrbronz, Jul 9, 2021.

Tags:
  1. mrbronz

    mrbronz Member HowtoForge Supporter

    I currently have a "Maximum allowed file size is 2.0 MB" for my email

    How do I increase this

    Many thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Where do you see that and which email client you use? Just a guess, you use RoundCube or similar web-based email client and you try to upload a file attachment?
     
  3. mrbronz

    mrbronz Member HowtoForge Supporter

    I'm using Roundcube and it's just to the right-hand side of the interface when I try and attach a file
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    In this case, your problem is the PHP upload size limit. Edit the apache2 php.ini file (the exact path varies depending of Linux distribution and version) and set the

    upload_max_filesize = 10M
    post_max_size = 10M

    (or the value that you need) and restart apache. if you don't know the path to php.ini, then please post which Linux distribution, version and web server you use.
     

Share This Page