Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some attachments from M365 mailbox not saving to emails in freescout. #2979

Closed
ezy3 opened this issue May 4, 2023 · 12 comments
Closed

Some attachments from M365 mailbox not saving to emails in freescout. #2979

ezy3 opened this issue May 4, 2023 · 12 comments

Comments

@ezy3
Copy link

ezy3 commented May 4, 2023

Hi Team,
We are having issues with freescout not saving attachments from emails. It pulls the email in but not the attachments. I get the following errors in the log file. I emailed the support email a couple of times now with no response? Is there paid support available? I really like the planform and don't want to have to abandon it.

laravel-2023-05-03 (1).log

@ezy3
Copy link
Author

ezy3 commented May 5, 2023

Hi Team, I will take a look at the links provided. If it were a permission issue I would have though it wont save any attachments. Some save others don't. I can't make any connection file type, size etc.

The status page says permissions are all OK.
image

@ezy3
Copy link
Author

ezy3 commented May 5, 2023

Also got tow of these in Sent errors? Does that mean that response just never went out to the customer?

Expected response code 250 but got code "554", with message "554 5.3.4 Content conversion limit(s) exceeded; STOREDRV.Submission.Exception:ConversionFailedException; Failed to process message due to a permanent exception with message [BeginDiagnosticData]ExceedsLimit ConversionFailedException: ExceedsLimit[EndDiagnosticData] [Hostname=ME2PR01MB4417.ausprd01.prod.outlook.com] "; File: /home/homeinst/help.homeinstead.me/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php (457)

An then in the App logs there are heaps of these? Is this perhaps why only some attachments are attaching to incoming emails?

Expected response code 250 but got code "554", with message "554 5.3.4 Content conversion limit(s) exceeded; STOREDRV.Submission.Exception:ConversionFailedException; Failed to process message due to a permanent exception with message [BeginDiagnosticData]ExceedsLimit ConversionFailedException: ExceedsLimit[EndDiagnosticData] [Hostname=ME2PR01MB4417.ausprd01.prod.outlook.com]

@freescout-helpdesk
Copy link
Contributor

554 5.3.4 Content conversion limit(s) exceeded... - this error is related to sending emails: https://social.technet.microsoft.com/Forums/windows/en-US/edda2d86-6f11-4b87-9515-8895d4a80387/554-534-content-conversion-limit-exceeded?forum=Exch2016MFSM

You'll need to contact MS365 Team to figure it out.

Incoming attachments most likely are not received due to similar issue with your MS365 configuration.

@ezy3
Copy link
Author

ezy3 commented May 5, 2023

This issue is only present in Freescout, attachments are delivered and sent fine from the mailbox itself on OWA and Outlook?

@freescout-helpdesk
Copy link
Contributor

In this instruction https://github.com/freescout-helpdesk/freescout/wiki/Connect-FreeScout-to-Microsoft-365-Exchange-via-oAuth you are creating an app. The issue can be relatedto this app configuration.

@ezy3
Copy link
Author

ezy3 commented May 5, 2023

Thanks, I'll check it out. I did follow the guide on setup. But will review.

@ezy3
Copy link
Author

ezy3 commented May 5, 2023

The status wasn't granted for all of the API permissions. Only 3 were green. I did just gran admin consent. Will see if that fixes the issue. Thank you so much for your assistance with this.
image

@freescout-helpdesk
Copy link
Contributor

Any news?

@ezy3
Copy link
Author

ezy3 commented May 19, 2023

Yes, I was waiting to ensure there were no more missing attachments. The issue seems was related to the dynamic attachment scanning feature in M365. It would deliver the email without its attachment and then freescout would grab it before the attachment is added back after the scan. Its set to grab emails every min and thus randomly it would grab ones that haven't completed the dynamic scan. I change the scanning method for the freescout mailboxes and set it to only deliver the email once the attachments have been scanned.

Thanks again for your assistance, the team is loving the product now, everything is working perfectly!

@freescout-helpdesk
Copy link
Contributor

I change the scanning method for the freescout mailboxes and set it to only deliver the email once the attachments have been scanned.

Can you tell how you've done this? So that others can avoid this issue.

@ezy3
Copy link
Author

ezy3 commented May 26, 2023

This should only effect anyone who has enabled dynamic delivery policies.

Navigate to https://security.microsoft.com/
Policies & rules>Threat policies>Safe attachments

image

I excluded the Freescout mailboxes from the policy

Then created a new policy only for the Freescout mailboxes and set the action to Block instead of Dynamic delivery.

Thanks again for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants