I have created a email service and I have a inbound email class where I am inserting a contact when a email is received. When I send email from Gmail, rediffmail to my salesforce email service. I am receiving email to my salesforce env and contact is created but when the email is send from yahoo it is not received and no contact is generated In debug logs also the inbound class is not called. I may email service I have no mentioned any domain or email id.
This is as per Yahoo's DMARC policy. I presume you are getting a response similar to this
This message was created automatically by the mail system.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
email@example.com (Undelivered): 554 5.7.9 Message not accepted for policy reasons. See http://postmaster.yahoo.com/errors/postmaster-28.html
------ This is a copy of the original message, including all headers. ------
Return-Path: X-SFDC-Interface: internal Received: from [10.237.9.131] ([10.237.9.131:55852] helo=ops-mta2-2-was.ops.sfdc.net) by mx1-asg.mta.salesforce.com (envelope-from ) (ecelerity 220.127.116.11 r()) with ESMTP id A7/34-02119-68D77835; Thu, 29 May 2014 18:33:42 +0000 Received: from [10.236.71.27] ([10.236.71.27:45272] helo=na14-app2-6-was.ops.sfdc.net) by mx4-was.mta.salesforce.com (envelope-from ) (ecelerity 18.104.22.168 r()) with ESMTPS (cipher=AES256-SHA) id 36/83-08380-68D77835; Thu, 29 May 2014 18:33:42 +0000 Received: from [22.214.171.124] by na14.salesforce.com via HTTP; Thu, 29 May 2014 11:33:42 -0700 Date: Thu, 29 May 2014 18:33:42 +0000 (GMT)
You can find more information on these links
Here's a link which explains how you can work around this issue.