Page 1 of 1

Mail attachment size

Posted: Mon Mar 03, 2014 12:28 pm
by lekr32
Hello, default mail attachment size is 2MB(for every email). How to change it?

~Thanks
lekr

Re: Mail attachment size

Posted: Mon Mar 03, 2014 12:44 pm
by imperio
Hi,
what operating system are you using on the server?

Re: Mail attachment size

Posted: Mon Mar 03, 2014 1:33 pm
by lekr32
it's a centos 6.4.
:)

Re: Mail attachment size

Posted: Mon Mar 03, 2014 1:56 pm
by imperio
you need to change the php.ini settings
/etc/php.ini
find this options

Code: Select all

post_max_size
upload_max_filesize
and change them
after you must restart the Apache

Code: Select all

service httpd restart

Re: Mail attachment size

Posted: Mon Mar 03, 2014 2:13 pm
by lekr32
Thanks a lot! It's work, I didn't know, that was really easy :) but sometimes better is ask than make something wrong.
Again thanks, for really good support and yours last update really makes your panel better, eg. 1024 DKIM - now emails from vestacp accepted in google :)