Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've just set up a new SP list to log purchases made by our department. Whenever we buy something, we'll use the email address corresponding to a distribution group that contains myself and an Exchange contact for a list in SharePoint.

I've set the list to receive mail from any sender and preserve attachments. It's a Discussion list, because I want to keep both the contents and attachments. I tested it from Gmail and it worked as expected.

Now we've purchased some software. This purchase triggered five emails. The SharePoint list only received two of them. Looking in the logs, I have:

The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.<nativehr>0x800401e6</nativehr><nativestack></nativestack>

An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\c49c754f01cd766d00000108.eml. The error was: The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators..

To my knowledge, we've never had this issue before with email-enabled lists and we use them rather heavily. Two of the three messages blocked had no file attachments at all and were sent plaintext. All five came from the same source address. If the logs at least told me what file or filetype was being blocked, that might give me somewhere to start, but since it doesn't, and since SharePoint cheerfully tosses the .eml after processing, I don't really have much to go on.

The text of one of the email messages is as follows:

x-sender: me@mycompany.com
x-receiver: IT-Purchasing@sharepoint.mycompany.com
Received: from exchange.mydomain.com ([10.0.0.52]) by sharepoint.mycompany.com with Microsoft SMTPSVC(7.5.7601.17514);
     Fri, 10 Aug 2012 08:44:18 -0400
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721
Importance: normal
Priority: normal
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
    charset="utf-8"
Content-Transfer-Encoding: base64
Subject: Payment Receipt from Some Vendor
Date: Fri, 10 Aug 2012 08:44:20 -0400
Message-ID: <DD7422A0-7E82-4DFA-B831-57828CFC7DCF@exchange.mydomain.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Payment Receipt from Some Vendor
Thread-Index: Ac12bhVqmh8qr8JLTkKi80TzqzDBzwAh7wew
From: "Drew Lanclos" <me@mycompany.com>
To: "IT Purchasing" <IT-Purchasing@sharepoint.mycompany.com>
Return-Path: me@mycompany.com
X-OriginalArrivalTime: 10 Aug 2012 12:44:18.0437 (UTC) FILETIME=[DB722B50:01CD76F5]

KiogUGxlYXNlIGRvIG5vdCByZXBseSB0byB0aGlzIG5vdGlmaWNhdGlvbi4gVGhpcyBtYWlsYm94
---snip---
LS0NClRoZSBBdmFuZ2F0ZSBUZWFtDQpBdmFuZ2F0ZSBJbmMNCmh0dHA6Ly93d3cuYXZhbmdhdGUu
Y29tDQpzdXBwb3J0QGF2YW5nYXRlLmNvbQ0KDQpbW2xjdks1SlhjZ0g0PV1dDQoNCg==
share|improve this question
    
Anything that has to do with outside emails, I set the list to accept all senders in the list settings. How you tried that? –  Mike Aug 9 '12 at 21:48
    
Yep, paragraph two, first sentence. –  Drew Lanclos Aug 9 '12 at 22:15
    
Did you try increasing the logging levels to see if you can get more details? Can you replicate this both with similar messages and from other domains? Are the messages encoded the same, MIME must do transfer encoding on UTF messages when sent, and in some cases can make a message unreadable, even in plain text (and thus flag filters). –  Jesus Shelby Aug 10 '12 at 1:32
    
Can you confirm the files are not blocked using blocked file types? –  Russell Aug 10 '12 at 3:54
    
Do these emails contain files which are on the list of SharePoint's forbidden file extensions in SP-CA? How do you store the attachments? –  C. Marius - MVP Aug 10 '12 at 8:12
show 2 more comments

1 Answer

I read in this thread that Sharepoint will only pick up messages that have x-sender and x-receiver headers. We use hMailServer, and so are able to script the server to add those headers for Sharepoint-destined messages.

Here is another possibility, from here:

For SharePoint 2010

Delivery of e-mail messages is not enabled from SharePoint to other lists within WSS sites. SharePoint filters out e-mail messages when an e-mail message has a destination address of an e-mail-enabled list.

SharePoint checks for the following field in the EML:

X-Mailer: Microsoft SharePoint Foundation 2010

If this field has that value, SharePoint filters that e-mail and does not enable delivery of that e-mail to the list.

Resolution: E-mail messages to SharePoint e-mail enabled lists or document libraries must originate from non-SharePoint senders.

A workaround would be to send the email to another email server and back into Sharepoint - OR edit the mail headers. There is another workaround-solution here.

Yet another thing to look for, having considered your server response, is whether the mime-types are allowed/enabled on your servers iis. If you lack the mime-type (file type; i.e., extension), the server won't let you do anything at all with the files.

share|improve this answer
    
Well, a good idea, but unfortunately the blocked messages have both x-sender and x-receiver headers, and they're not sourced from SharePoint. Thanks for the response though! –  Drew Lanclos Nov 9 '12 at 15:14
    
I thought of something else - look at the last part of my post. –  BGM Nov 9 '12 at 19:29
    
I assume you mean the MIME type of the attachments or content, but in this case, it's not a multipart message, just a normal plaintext email. I've included the sanitized content of one of the bounced emails in the question description. –  Drew Lanclos Nov 13 '12 at 22:10
    
One thing you could try is to, for awhile, have your email server to copy all the sharepoint-destined incoming mails to another folder, then, you will be able to retain a copy and figure out what was different about the ones that get blocked. –  BGM Nov 14 '12 at 2:25
    
Could there have been any encryption in the emails? Even encrypted emails come in plaintext. –  BGM Nov 14 '12 at 3:03
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.