PDA

View Full Version : Webmail horde attachment problem,


KamalG
Oct 4, 2012, 10:16 PM
I am trying to upload a file size greater than 8 mb but I get the following error

I have increased the file size limit upload in the php.ini

I checked this thread http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/

but I don't find the conf file in the default directory.. please help


Error message

413 Request Entity Too Large

nginx

IgorG
Oct 4, 2012, 10:58 PM
Try to add option client_max_body_size to http section of /etc/nginx/nginx.conf. For example:

client_max_body_size 100m;

Restart nginx after that.

KamalG
Oct 7, 2012, 12:22 AM
I am using parallels plesk 11 and centos 6.3 and there is no such file in /etc/nginx/nginx.conf no directory named nginx in /etc/ dir.

IgorG
Oct 7, 2012, 11:38 PM
It is part of sw-nginx package. For example:

[root@ppu11-1 ~]# rpm -qf /etc/nginx/nginx.conf
sw-nginx-1.3.0-1.12051815.rhel5
[root@ppu11-1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Do you have sw-nginx package installed?

KamalG
Oct 7, 2012, 11:44 PM
[root@mugu Desktop]$ rpm -qf /etc/nginx/nginx.conf
sw-nginx-1.3.0-1.12051815.centos6.i386
[root@mugu Desktop]$ cat /etc/redhat-release
CentOS release 6.3 (Final)

Yes it's installed but don't have nginx/nginx.conf file in the path you've mentioned. I already did a google search and found about the conf but strangely it's not available on my machine,

Please help.

IgorG
Oct 7, 2012, 11:53 PM
I do not understand you. Your command rpm -qf /etc/nginx/nginx.conf works fine. It means that file exists.

KamalG
Oct 8, 2012, 02:23 AM
I was trying to access the file from putty, it is there I increased the size, it lets me upload the file but when sending the email with attachment I get the following error

There was an error sending your message: sendmail: temporary failure (75)


without attachment I can send emails easily and they are being delivered properly please help me.

IgorG
Oct 8, 2012, 03:13 AM
Log investigation id required. Try to troubleshoot it with help of article http://kb.parallels.com/111283
Contact Support Team if you find nothing.