This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to increase size in attachment files?
#1
[Not Solved] How to increase size in attachment files?
Hi

We are using Sentora and Zpanel in differents severs. And we need upload or attach files larger than 5MB
.
How Can I do it?
Thanks.

Hola que tal, somos usuarios de Sentora y zpanel, y quisieramos saber como incrementar el tamaño de los archivos adjuntos de 5MB a mas. Por favor su ayuda.
Gracias.
Reply
Thanks given by:
#2
[Not Solved] RE: How to increase size in attachment files?
cfreire Do you mean, send an email with more than 5mb?
Or upload a file via PHP?
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#3
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 01:23 AM)apinto Wrote: @[cfreire] Do you mean, send an email with more than 5mb?
Or upload a file via PHP?

Hi
Thanks by aswered me

We need attach files greater than 5MB. I attacha the error that I recieve.


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#4
[Not Solved] RE: How to increase size in attachment files?
Either way...

Refer to http://docs.sentora.org/?node=76 for the needed file paths.

Change PHP Max File Upload Size
on your php.ini file find the following values and change them to the desired size.
Keep in mind that post_max_size should be equal or bigger than upload_max_filesize.
PHP Code:
upload_max_filesize 256M
post_max_size 
257M 

Change Email/Postfix Max Attachment Size
on your postfix/main.cf file (under sentora configs folder, by default on /etc/sentora/config) find the following values and change to the desired size.
The example bellow sets the size to aprox. 20mb.

Code:
message_size_limit = 20480000
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#5
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 01:32 AM)apinto Wrote: Either way...

Refer to http://docs.sentora.org/?node=76 for the needed file paths.

Change PHP Max File Upload Size
on your php.ini file find the following values and change them to the desired size.
Keep in mind that post_max_size should be equal or bigger than upload_max_filesize.
PHP Code:
upload_max_filesize 256M
post_max_size 
257M 

Change Email/Postfix Max Attachment Size
on your postfix/main.cf file (under sentora configs folder, by default on /etc/sentora/config) find the following values and change to the desired size.
The example bellow sets the size to aprox. 20mb.

Code:
message_size_limit = 20480000

This method is valid with zpanel too????
Reply
Thanks given by:
#6
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 01:47 AM)cfreire Wrote: This method is valid with zpanel too????

cfreire In all my honesty and I dont mean to offend you...

From your comment I assume that you either did not read my post with the due attention or that your knowledge is far from enough from what is needed to run a web hosting server.

To answer your question, yes it is valid for Sentora.

On a side note, I still did not understood what you want to upload or attach....
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#7
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 02:00 AM)apinto Wrote:
(07-17-2015, 01:47 AM)cfreire Wrote: This method is valid with zpanel too????

@[cfreire] In all my honesty and I dont mean to offend you...

From your comment I assume that you either did not read my post with the due attention or that your knowledge is far from enough from what is needed to run a web hosting server.

To answer your question, yes it is valid for Sentora.

On a side note, I still did not understood what you want to upload or attach....

Hi
I understood what the steps that you sent me, are valid in sentora; but my question is if these steps will function with ZPANEL.
However I have set the values on the parameters that you wrote me, but even recieve the same error. =/
Reply
Thanks given by:
#8
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 02:13 AM)cfreire Wrote:
(07-17-2015, 02:00 AM)apinto Wrote:
(07-17-2015, 01:47 AM)cfreire Wrote: This method is valid with zpanel too????

cfreire In all my honesty and I dont mean to offend you...

From your comment I assume that you either did not read my post with the due attention or that your knowledge is far from enough from what is needed to run a web hosting server.

To answer your question, yes it is valid for Sentora.

On a side note, I still did not understood what you want to upload or attach....

Hi
I understood what the steps that you sent me, are valid in sentora; but my question is if these steps will function with ZPANEL.
However I have set the values on the parameters that you wrote me, but even recieve the same error. =/
Yes it works with Zpanel (however change the paths from sentora to zpanel obviously).
My answer is still the same, my steps work with ANY panel that use Apache, PHP and Postfix.

Please restart apache and postfix executing the following commands as root or sudo.
Code:
service apache2 restart
Code:
service postfix restart

If the issue is still there, reboot your server.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#9
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 02:32 AM)apinto Wrote:
(07-17-2015, 02:13 AM)cfreire Wrote:
(07-17-2015, 02:00 AM)apinto Wrote:
(07-17-2015, 01:47 AM)cfreire Wrote: This method is valid with zpanel too????

@[cfreire] In all my honesty and I dont mean to offend you...

From your comment I assume that you either did not read my post with the due attention or that your knowledge is far from enough from what is needed to run a web hosting server.

To answer your question, yes it is valid for Sentora.

On a side note, I still did not understood what you want to upload or attach....

Hi
I understood what the steps that you sent me, are valid in sentora; but my question is if these steps will function with ZPANEL.
However I have set the values on the parameters that you wrote me, but even recieve the same error. =/
Yes it works with Zpanel (however change the paths from sentora to zpanel obviously).
My answer is still the same, my steps work with ANY panel that use Apache, PHP and Postfix.

Please restart apache and postfix executing the following commands as root or sudo.
Code:
service apache2 restart
Code:
service postfix restart

If the issue is still there, reboot your server.



Hi, Im sorry, but even i have the problem-... =(

I have done the following:

in  "/etc/zpanel/configs/postfix/main.cf" I added

message_size_limit = 104857600


and in /etc/php.ini I edited

upload_max_filesize = 256M
post_max_size = 257M

later I

service postfix restart
/etc/inid.d/httpd restart

I tried to attach and I received the same error "only 5MB"
Reply
Thanks given by:
#10
[Not Solved] RE: How to increase size in attachment files?
(07-17-2015, 02:47 AM)cfreire Wrote:
(07-17-2015, 02:32 AM)apinto Wrote:
(07-17-2015, 02:13 AM)cfreire Wrote:
(07-17-2015, 02:00 AM)apinto Wrote:
(07-17-2015, 01:47 AM)cfreire Wrote: This method is valid with zpanel too????

cfreire In all my honesty and I dont mean to offend you...

From your comment I assume that you either did not read my post with the due attention or that your knowledge is far from enough from what is needed to run a web hosting server.

To answer your question, yes it is valid for Sentora.

On a side note, I still did not understood what you want to upload or attach....

Hi
I understood what the steps that you sent me, are valid in sentora; but my question is if these steps will function with ZPANEL.
However I have set the values on the parameters that you wrote me, but even recieve the same error. =/
Yes it works with Zpanel (however change the paths from sentora to zpanel obviously).
My answer is still the same, my steps work with ANY panel that use Apache, PHP and Postfix.

Please restart apache and postfix executing the following commands as root or sudo.
Code:
service apache2 restart
Code:
service postfix restart

If the issue is still there, reboot your server.



Hi, Im sorry, but even i have the problem-... =(

I have done the following:

in  "/etc/zpanel/configs/postfix/main.cf" I added

message_size_limit = 104857600


and in /etc/php.ini I edited

upload_max_filesize = 256M
post_max_size = 257M

later I

service postfix restart
/etc/inid.d/httpd restart

I tried to attach and I received the same error "only 5MB"

But where are you attaching the files? You still didn't replied to my first question...
It can be limited on the script you are using.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
DNS Manager TXT type 100 char size limit dackko 14 13,653 12-20-2018, 11:59 AM
Last Post: TGates
Inodes complitly used ( over 5 000 000 files) boka003 4 4,677 02-10-2016, 03:28 AM
Last Post: boka003

Forum Jump:


Users browsing this thread: 1 Guest(s)