Mail attachment file more than 2MB is not working, configuration is set to 25MB

Discussion in 'Installation/Configuration' started by W-C, Jun 6, 2017.

  1. W-C

    W-C New Member

    Hello,
    When I tried to attach a file more than 2MB the webmail get stuck sending the file (files less than 2MB are sent succesfully). The message_size_limit configuration on the main.cf is set to 0 (unlimited). On the php.ini configuration file is set to 25MB. In the past we were able to attached files up to 25MB, the configuration of both files has not been modified.
    I would really appreciate any idea what could be affected the attachments.

    Thanks in advance.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member

    Sounds like a php setting, which I believe should be upload_max_filesize but also check post_max_size, and make sure you are changing the correct php.ini for the environment you're running in (eg. try phpinfo() from the webmail environment to be sure).
     
  3. W-C

    W-C New Member

    Hello Jesse,
    Thanks for your answer, both parameters are set to 25MB, I have also change the size to 30MB and I can see refreshed on the webmail, on the attachment tab.

    The stranged thing is that it was working right before and no changes has been made to the config.
     

    Attached Files:

Share This Page