Page 1 of 1

Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Tue May 30, 2017 12:07 pm
by Antonto
Hello!
When I've tried attach file greater then 1MB via Web interface i've got error: "Error uploading file."
Same operation via IMAP client goes without any errors.

Nothing special in the /opt/zimbra/log/*


MAX sizes are:

Code: Select all

$ zmprov gs `zmhostname` zimbraFileUploadMaxSize
zimbraFileUploadMaxSize: 40960000

$ zmprov gs `zmhostname` zimbraMtaMaxMessageSize
# empty

$ zmprov gs `zmhostname` zimbraMailContentMaxSize
zimbraMailContentMaxSize: 102400000

$ zmprov gs `zmhostname` zimbraImapMaxRequestSize
zimbraImapMaxRequestSize: 40960000

$ zmprov gcf zimbraFileUploadMaxSize
zimbraFileUploadMaxSize: 40960000

$ zmprov gcf zimbraImapMaxRequestSize
zimbraImapMaxRequestSize: 40960000

$ zmprov gcf zimbraMailContentMaxSize
zimbraMailContentMaxSize: 102400000

$ zmprov gcf zimbraMtaMaxMessageSize
zimbraMtaMaxMessageSize: 40960000



Zimbra 8.7.3_GA_1750 (build 20170215042321)

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Sat Jun 03, 2017 6:18 am
by Raun
adding soap debug should help.

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Mon Jun 05, 2017 9:13 am
by Antonto
Raun wrote:adding soap debug should help.

Thanks, but where I can find soap debug log?

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Mon Jun 05, 2017 2:57 pm
by Antonto
Looks like I'we got the SOAP Debug Log (added log4j.logger.zimbra.soap=DEBUG to /opt/zimbra/conf/log4j.properties) :

Code: Select all

2017-06-05 17:46:45,655 DEBUG [qtp66233253-56701:https:https://mail.host.ru/service/soap/SaveDraftRequest] [] soap - Host : mail.host.ru, Referrer host :mail.host.ru, Allowed Hosts:[] Soap req is  allowed.
2017-06-05 17:46:45,656 DEBUG [qtp66233253-56701:https:https://mail.host.ru/service/soap/SaveDraftRequest] [name=address@host.ru;mid=7;oip=62.76.95.196, 10.1.11.235;oproto=https;ua=ZimbraWebClient - GC58 (Linux)/8.7.3_GA_1750;] soap - Adding message body, incrementing size by 53 to 53.
2017-06-05 17:46:45,660 INFO  [qtp66233253-56701:https:https://mail.host.ru/service/soap/SaveDraftRequest] [name=address@host.ru;mid=7;oip=62.76.95.196, 10.1.11.235;oproto=https;ua=ZimbraWebClient - GC58 (Linux)/8.7.3_GA_1750;] mailop - Adding Message: id=235410, Message-ID=<1472372281.88526.1496674005657.JavaMail.zimbra@boaboo.ru>, parentId=-1, folderId=6, folderName=Drafts.
2017-06-05 17:46:45,666 INFO  [qtp66233253-56701:https:https://mail.host.ru/service/soap/SaveDraftRequest] [name=address@host.ru;mid=7;oip=62.76.95.196, 10.1.11.235;oproto=https;ua=ZimbraWebClient - GC58 (Linux)/8.7.3_GA_1750;] soap - SaveDraftRequest elapsed=11
2017-06-05 17:46:45,977 DEBUG [qtp66233253-56729:https:https://mail.host.ru/service/soap/SaveDraftRequest] [] soap - Host : mail.host.ru, Referrer host :mail.host.ru, Allowed Hosts:[] Soap req is  allowed.
2017-06-05 17:46:45,979 DEBUG [qtp66233253-56729:https:https://mail.host.ru/service/soap/SaveDraftRequest] [name=address@host.ru;mid=7;oip=62.76.95.196, 10.1.11.235;oproto=https;ua=ZimbraWebClient - GC58 (Linux)/8.7.3_GA_1750;] soap - Adding message body, incrementing size by 53 to 53.
2017-06-05 17:46:45,987 INFO  [qtp66233253-56729:https:https://mail.host.ru/service/soap/SaveDraftRequest] [name=address@host.ru;mid=7;oip=62.76.95.196, 10.1.11.235;oproto=https;ua=ZimbraWebClient - GC58 (Linux)/8.7.3_GA_1750;] soap - SaveDraftRequest elapsed=9
^C

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Wed May 29, 2019 7:14 pm
by easin86
Then How to solve this issue ...??

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Thu May 30, 2019 4:41 am
by jholder
easin86 wrote:Then How to solve this issue ...??

This thread is 2 years old and not all errors are equal. Please create a new post and provide as much detail as possible.

Asking "then how to solve this issue" will not get you an answer. Post what's happening along with any errors.

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Tue Jun 04, 2019 10:13 am
by Antonto
I've started this topic tow years ago and found no solution. And I've just start using standalone mail client instead web interface. But I've checked for this issue right now on Zimbra 8.8.10_GA3781 - looks like the problem goes away.
During these 2 years I updated the system from Ubuntu 14.04 to 16.04 and Zimbra to 8.8.10.

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Sat Jun 08, 2019 8:49 am
by balajiv.maa
Dear All, I have the same problem and i have solved the same.

Error:-

Critical: uploading file error.

Solution:-

I have noticed in zimbra user account crontab below entries,

*/60 * * * * /opt/zimbra/lib/zmcheckexpiredcerts

I didnt do any changes i just leave it and I've went to that path /opt/zimbra/lib/ and removed the file zmcheckexpiredcerts
recreated the same file with chattr +i

#touch zmcheckexpiredcerts
#chattr +1 zmcheckexpiredcerts

that's it now i can able to upload file without any issue. :P :P :P

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Sat Jun 08, 2019 11:11 am
by phoenix
balajiv.maa wrote:Dear All, I have the same problem and i have solved the same.
You may think you've solved it but you have a larger problem than just having a problem uploading files. If you read any of the recent threads in these forums concerning this problem (and more so because you found this: zmcheckexpiredcerts) you would have seen that your Zimbra server has been hacked and you'll need to clean it to remove all of the hacked files that's probably been uploaded to your server.

Re: Webmail attachment error: Error uploading file. xxxMaxSize does not matter.

Posted: Sat Aug 08, 2020 2:17 pm
by balajiv.maa
Dear phoenix,

I tried to solve the issue. Please guide me to clean my Zimbra server.