SharePoint 2010 2012年4月のCUで受信メール機能が動作しなくなる問題

先日リリースされた SharePoint 2010 2012年4月のCUですが、それが原因で受信メール機能が動かなくなる、というバグが海外のMSDNブログで報告されています。ただ、解決方法も提示されているのが助かります。

SPS2010 cannot send incoming emails to Lists/Libraries
When the user sends an e-mail to a list, the e-mail is received by SMTP and saved to the SMTP drop folder “C:\inetpub\mailroot\Drop”, bit it stays there and they don’t get collected by the Microsoft SharePoint Foundation Incoming E-Mail timer job. TheOWSTIMER is running and the output of this cmd command: STSADM -o getproperty -url http://YourSiteURL -pn alerts-enabled, is the correct one:

受信メールがSMTPサーバまではきちんと到達していて、SharePoint 側で関連タイマージョブ(OWSTIMER)もきちんと有効化され動いているにも関わらず、メールを拾わなくなります。ULSログには、OWSTIMER.EXEのエラーが出力されています。

解決方法はそのサイトにクォータを設定する事です。

Go to the SharePoint Central Administration > Application Management > Configure quotas and locks > on the Site Quota Information section > set a limit (i.e: 5000 MB) on this setting: “Limit site storage to a maximum of:” > and then press “OK”.

ただ、もし Nintex Workflow を利用している場合、この方法だけでは Nintexの受信メール機能(レイジーアプルーバル)は復旧しません。

Found an issue [WITH FIX] with SP2010 April 2012 CU : incoming emails not going to SharePoint
The issue with the above is that Nintex drops the Lazy Approval emails in to a HIDDEN library under the Central Administration, therefore we need to set a quota to the Central Admin site as well but as you will experience there no way to select the Central Administration Web app when setting Quota.

Nintex は全体管理サイト配下に隠しライブラリをもっており、それでSharePointの受信メール機能を利用して「中継」しているようなのですが、全体管理サイトには、通常のGUIからではクォータが設定できないためです。

解決方法は上記ブログやそのリンク先にもあるよに、PowerShell を利用して、クォータをかけてしまうことになります。

ただ、そもそも何故、クォータ設定が受信メール機能の解決につながるのか、いまひとつ判りません(汗)そしてそれ以前に、受信メールのようなれっきとしたいち機能ですら、CUリリース前にテストしていないんでしょうか?(確かにCUは完全なテストを経ていないもの、と言われればそれ迄ですが)。やれれや。

ともあれ、まあ、実際にはこの4月CUを適用せずに、次のCUあるいはSPを待つ、というのが一番良い対処方法なのかもしれません。


Author

中村 和彦(シンプレッソ・コンサルティング株式会社 代表)が「ユーザ視点の SharePoint 情報」を発信します。元大手製造業 SharePoint 運用担当。現SharePoint コンサルタント。お仕事のお問い合わせはこちらまでお願いします。当ブログにおける発信内容は個人に帰属し所属組織の公式発信/見解ではありません。
FB : 中村 和彦
blog: Be・Better!
MS MVP SharePoint 2009/10-2011/9
MS MVP Office 365 2012/10-2014/9