Open koffienl opened 3 months ago
I have no idea how to, but the 25M limit is default due to some mail servers not allowing messages larger then 25M (there are even providers which limit it to less). Read https://mailtrap.io/blog/email-size/
https://github.com/the-djmaze/snappymail/tree/master/.docker/release/files/usr/local/etc/php-fpm.d/php-fpm.conf https://github.com/the-djmaze/snappymail/tree/master/.docker/dev/php/snappymail.ini
Feel free to copy some logic from https://github.com/phpmyadmin/docker/blob/master/Dockerfile-alpine.template
I'm a bit confused on how to properly increasing the php values for max file size. Currently my admin page says: PHP: upload_max_filesize = 25M; post_max_size = 25M
I have increased the docker ENV UPLOAD_MAX_SIZE from 25M to 50M but that doesn't seem to have effect. Thinking this might be een ENV from the previous docker, I created a extra file increase-upload-size.ini outside the docker. Mounted the file as /usr/local/etc/php/conf.d/increase-upload-size.ini inside the docker. The contents of the file:
upload_max_filesize = 2000M post_max_size = 2000M;
Again, no effect. There is no documentation on the docker github (https://hub.docker.com/r/djmaze/snappymail) so I'm not sure where else to look to properly increase the upload size. Can anyone point into the right direction?