This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue with M-Files Cloud and SendGrid Email Impersonation

One of our cloud customers recently implemented spam and phishing controls and since then emails notifications and particularly assignment alerts no longer get delivered.

Their IT indicates that the issue is due to M-Files Cloud using to Impersonate a user. It is this impersonation that is the security concern for the client as SendGrid is known to be used in phishing attempts, and therefor our customer is viewing the impersonation as a phishing attempt and blocking the emails.

Reminders are working because they come from , which is not impersonated, however the assignments looks like they are coming from someone in the organization, however are being blocked due to something in in background identifying it was impersonated via

I am sure our customer cannot be the only one's being affected by this, and therefor curious how others are getting around the issue of emails from M-Files Cloud Alerts and Notifications being blocked. 

The below more detailed explanation was provided by the customer

Impersonation is when a service sends or tries to send as a user of an organization, so e.g. M-Files/SendGrid are sending AS a user SMTP address.

This makes our anti-spoofing policy put that check as a failure in verification and classifies as spoofing. Many scamming organizations use the same methods to send as a specific internal user, which this current setup protects us from that. You typically see it come out as something like “Arnie Cilliers”.

The type of protocol and check that is used for this is the standard DMARC/DKIM/SPF record checks, which sign our domains on the internet for not only vendors but also partners to know our domain is not capable of being compromised, while also protecting our domain and users from these types of attacks.

When a domain is signed and protected in this manner, a third-party service like SendGrid will not be able to copy the private key we use to sign our domain, and therefore will fail in spoofing us. We also cannot place the whole SendGrid domain as an exception because it is one of the most widely used services by scammers to conduct phishing attacks and general social engineering campaigns.

 An example of how M-Files is currently sending through SendGrid and falling into impersonation is as seen below:

  Envelope  <bounce+53487-a5dc-

   Sender: {user}={>

   From Header: {User2 Name}<>

You’ll see there that the actual sending email is bounces+53487-a5dc-{user}={} but the From header will read From an organization employee. This type of usage will fall under impersonation.

 If possible customer would like to know if sendgrid can send as itself, instead of trying to send as a organization employee. That way the only thing we would need to do is whitelist the actual SendGrid account email and call it a day.

  • Hi Arnie,

    Have you raised this with support directly to see what options we might have to customise this?



  • Yes. I will post the resolution.

  • The following resolution, using Advanced Vault Settings provided, by M-Files Customer Support ended up resolving the customer's issues.

    1. From M-Files Admin
    2. Choose your Vault > Configuration
    3. Advanced Vault Settings > Configuration > Notifications
    4. New Assignment Sender from Settings from the drop-down on the right Choose "Yes", and Save.

    This setting will force M-Files to send the assignment similar to general notifications without being on-behalf of the user.