SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

Incoming email on MOSS 2007

This post is not about how to configure incoming email (there is a GREAT white paper on the subject here: http://www.combined-knowledge.com/Downloads%202007.htm ). Instead, I will focus on an issue that I ran into while setting it up in a server farm environment with Microsoft Forefront Security. Forefront was installed on both of the front-end web servers.

When I followed the instructions in the white paper How to configure Email Enabled Lists in Moss2007 beta 2 using Exchange 2003 in the domain for receiving both local and external e-mail to the list (note that I opted to NOT automatically create distribution lists and contacts in Active Directory, so did not configure that piece) I found that email made it all the way to the inetput\mailroot\drop folder on the connected front-end MOSS server and was picked up by the timer service, however, an error was consistently reported:

OWSTIMER.EXE (0x0950)                 
Windows SharePoint Services  
E-Mail                       
6874
Warning An error occurred while attempting to create an attachment for an
item sent via e-mail. The e-mail was sent to the list "<doc library name>",
and the error was:

Useful, right?

Through some research and tons of troubleshooting, I disabled Forefront Security on the front-end MOSS servers. For those who are frustrated with it, the services will automatically restart unless you disable them. After disabling the Forefront services, I tried sending email to a document library again and received the following error message:

OWSTIMER.EXE (0x0950)                 
Windows SharePoint Services  
E-Mail                       
6874
Warning An error occurred while attempting to create an attachment for an
item sent via e-mail. The e-mail was sent to the list "<doc library name>",
and the error was: Unknown server error number: d.

I uninstalled Forefront Security and the problem went away, I was able to successfully email documents to document libraries.

At this point I called Microsoft Technical support and was eventually transfered to Forefront security. They provided me with the following fix:

The FSCRealtimeScanner.exe (old AntigenRealtime.exe) is running as Network Service account as default.  It does not have access to SPSTimer service.  There is a hidden registry key “LegacyScanAccount”.  When it is set to 1, FSCRealtimeScanner.exe will run as LocalSystem.

Do the following:

·       Stop FSCController service.  Check task manager to make sure FSCController.exe and all the FSCRealtimeScanner.exe are shut down.
·       Run “iisreset /stop”
·       Run “net stop sptimerv3”
·       Add registry DWORD “LegacyScanAccount” with value 1 under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Forefront Server Security\SharePoint\  for 32 bit machine or HKEY_LOCAL_MACHINE\SOFTWARE\
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Forefront Server
Security\SharePoint\ for 64 bit machine.
·       Run “net start sptimerv3”
·       Run “iisreset /start”
·       Send email to check if it works.  FSCRealtimeScanner.exe should run as SYSTEM after you send an email to doc library.

This worked... of course it also created additional issues created by Forefront. More on those later.

Update [3/14/07]: I have given up on Forefront, after this fix, stsadm would not work and there was some kind of .Net problem. Removing Forefront fixed the problem. Unfortunately, I did not save the event logs and they have rolled over. *Heck*, this all happened the week I went on vacation. I now have Trend Portal Protect for MOSS installed and it appears to be working quite well.


Posted 06-20-2007 9:02 AM by mindy

Comments

Sharepoint link love 06-21-2007 at Virtual Generations wrote Sharepoint link love 06-21-2007 at Virtual Generations
on 06-21-2007 3:30 AM

Pingback from  Sharepoint link love 06-21-2007 at  Virtual Generations

Links (6/21/2007) « Steve’s SharePoint Stuff wrote Links (6/21/2007) &laquo; Steve&#8217;s SharePoint Stuff
on 06-21-2007 8:15 PM

Pingback from  Links (6/21/2007) &laquo; Steve&#8217;s SharePoint Stuff

Seth wrote re: Incoming email on MOSS 2007
on 10-05-2007 3:26 PM

I've been looking into this issue off and on for about a month.  Thanks for the post.

Anwar wrote re: Incoming email on MOSS 2007
on 10-15-2007 7:09 AM

Could anyone help me with teh same issue but with teh following error

A critical error occurred while processing the incoming e-mail file C:\Inetpub\mailroot\Drop\436c800101c80f160000000b.eml. The error was: The type initializer for 'Microsoft.Exchange.Data.Globalization.CultureCharsetDatabase' threw an exception..

Anwar

SEIU SharePoint Development » Blog Archive » “Unknown server error number: d” wrote SEIU SharePoint Development &raquo; Blog Archive &raquo; &#8220;Unknown server error number: d&#8221;
on 05-31-2008 5:18 AM

Pingback from  SEIU SharePoint Development  &raquo; Blog Archive   &raquo; &#8220;Unknown server error number: d&#8221;

“Unknown server error number: d” at SEIU Information Technology Development wrote &#8220;Unknown server error number: d&#8221; at SEIU Information Technology Development
on 08-18-2008 11:24 AM

Pingback from  &#8220;Unknown server error number: d&#8221; at SEIU Information Technology Development

Moss 2007 Incoming Email With Exchange 2003 « Stuff I geek with wrote Moss 2007 Incoming Email With Exchange 2003 &laquo; Stuff I geek with
on 11-27-2008 8:39 PM

Pingback from  Moss 2007 Incoming Email With Exchange 2003 &laquo; Stuff I geek with

Dip wrote re: Incoming email on MOSS 2007
on 04-13-2009 1:45 PM

Interesting article on how to debug Incoming email

home.dzeee.net/.../Post.aspx

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.