Closed z0lo13 closed 4 years ago
Lately a limit equal to the upload value specified in configuration has been added.
I however think that the reason why your attachments aren't being downloaded is because of something else, namely their verification security-wise. If you check your logs you will probably see entries that confirm that. The latest servicepack for 5.1 includes a fix that improves file verification. It will most likely eliminate the number of rejected files. I recommend updating your system to 5.1 + servicepack v4.
Lately a limit equal to the upload value specified in configuration has been added.
I however think that the reason why your attachments aren't being downloaded is because of something else, namely their verification security-wise. If you check your logs you will probably see entries that confirm that. The latest servicepack for 5.1 includes a fix that improves file verification. It will most likely eliminate the number of rejected files. I recommend updating your system to 5.1 + servicepack v4.
@rskrzypczak
I understand. Maybe you know What is the class or file that verify attachments for the mail scanner?
Unfortunately 5.1 was not stable when it just came out. And now i hope it will be 5.2 comming soon, as most of bugs from 5.1 been fixed in it. Also i have integrated couple of modules out of yetiforce production, which make update not as smooth. Waiting for 5.2
https://github.com/YetiForceCompany/YetiForceCRM/blob/f3835d1735f86958fcdfdb5bfb9297503549b285/modules/OSSMail/models/Mail.php#L372 @rskrzypczak i will test the new version and come back with feedback, i am surer that something wrong with size as the pdf is generated by yetipdf. And i cannot just disable the security check on codeinjections.
My question would be: it should actually log the error when i enable logging but where would it go? system.log or error.log? i dont see any errors in there
@rskrzypczak can you open the issue? as it is a bug and it is not fixed!
I however think that the reason why your attachments aren't being downloaded is because of something else, namely their verification security-wise. If you check your logs you will probably see entries that confirm that.
system.log or error.log? i dont see any errors in there
system.log (link)
@rskrzypczak You have send me a link for debuging. However, I have created a new issue where is test the following in the gitdeveloper https://github.com/YetiForceCompany/YetiForceCRM/issues/11286
this probably resolve your problem: https://github.com/YetiForceCompany/YetiForceCRM/commit/24125dbbe5c5c700c87d9ae416d2f69e97dc6260
π bug report
βοΈ Describe the bug
In Mailscanner. Is there a limit to download an attachment with a mailscanner cron? I found out that all attachements in /storage/Documents/ do not exceed 4 megabytes in size.
Can I increase the size of Attachement downloaded through mailscanner? as all generated PDF files are larger than 9 MB they simply dont import.
π₯ How to trigger the error
Steps to reproduce the behavior:
π Actual Behavior
No Pdf.
π Expected Behavior
PDF Attached
π· Testing
π· Screenshot of configuration
https://user-images.githubusercontent.com/23143958/61069974-840b2900-a3db-11e9-91d8-dec68a64b113.png
π PHP/Apache/Nginx/Browser/CRM Logs
Nothing Suspicious
π Your Environment
β Additional context
I am not sure if it is a bug or feature.