Fix: Inline images in Incoming mail are dropped due to size restriction

Fix: Inline images in Incoming mail are dropped due to size restriction

Issue:
      
      Since release of 14710 build version, we have started validating the size of the inline images in the Incoming mails. If the size exceeds the 3MB (same max size when you insert an image in the html fields from web portal), the inline images will be dropped and the corresponding sender will be notified on this. This will be logged in the "System Log Viewer" as below ( The message will be FILE_SIZE_MORE_THAN_ALLOWED_SIZE )



Fix:

      Since, many customers wanted to revert this size restriction, we have come up with the fix for the same. The fix is to not validate the inline images in Incoming mail for size restriction. Steps to apply the fix is mentioned below:

1. Download the attached ".fjar" files corresponding to your build version. 
2. Apply the fjar (Learn here on the steps to apply the fjar file - https://pitstop.manageengine.com/portal/en/kb/articles/how-to-apply-fjar)
3. Restart the application services.
4. Check for the issue. If it exists, kindly share us the screenshot of the corresponding "System Log Viewer" entry as attached above.

Fjar file compatibility:

Build version
Fjar name
14710 - 14720
14710_inline_size_fix.fjar
14730 - 14760
14730_inline_size_fix.fjar
14810
14810_10091686.fjar


Issue Id: SD-120605


                  New to ADSelfService Plus?

                    • Related Articles

                    • Mail Fetching Stopped Due to Inline Image Handling

                      Issue Cause : While fetching a mail, in certain mail servers, cid of inline image is not parsed correctly. Once inline stream is converted to image, cid in src attr will be replaced with image url. cid for uploaded inline image in mail content is not ...
                    • Inline images dropped due to "x-png" image type

                      Issue: The embedded inline images in the mail gets dropped Reason: The embedded inline images in the content has the data uri as "data:image/x-png;base64,xxxx". While processing this embedded image, we generate the inline image file name as ...
                    • Mail Fetching: Inline Images Dropping Due to Invalid Extension

                      Issue: The inline image's file name from the email doesn't contain the extension. Example: filename = sys_attachment.dosys_id=5bb0751c8303b5dc96a238226daad371 As a result, the inline image gets stripped during the mail fetching process. The sender of ...
                    • Exception while Processing Inline Image with incorrect file name extension

                      Reference : #7938623, #8561970 Cause : Inline Images could not be processed with incorrect file name, for example "4d54308871ec465c8233d0f470db0308.do?sys_id=4fdfcb17475c1d50c594c133846d436a" . While constructing the filename in our end, the values ...
                    • Mail Fetching - Error while processing attachment and inline image.

                      Issue During the process of fetching emails, attachments are dropped as a result of the presence of directory traversal characters. Furthermore, an issue arises when processing inline images, this particular error related to inline images results in ...