Situation: We use standard out of box email-to-case and case auto-response rules. One of customer's sends a email to our system and we send an auto-response rule. They also have an automated system which sends an auto-response for all incoming emails.
Problem: Now this is causing a loop and creating about 1000 cases until Salesforce finally detects and aborts further cases from getting created.
Solution: We want to prevent sending auto-responses if we detect the incoming email is auto-generated. I know that Salesforce doesn't allow cross object reference in auto-response rules but I see EmailMessage object is available in the filter criteria. So I used EmailHeaders field from EmailMessage object and added additional filters that look for parameters that indicate in an auto generated response and prevent sending of auto-response rules from Salesforce.
Problem: Salesforce stopped sending all auto-response rule after adding this criteria. If this is a limitation is there a possible work around to break this loop?