我负责使用 Microsoft Small Business Server 2003 通过 Exchange 向一家小公司提供电子邮件服务。
昨天,一切似乎都运行正常。今天早上,一个账户(当然,也是使用最频繁的账户)开始出现“怪异”行为:
在 Outlook 2010 中,收件箱中没有出现新电子邮件。但是,通过自动规则发送到收件箱子文件夹的电子邮件显示正常。Outlook 显示“所有文件夹都是最新的”。
在 iOS 设备上,情况基本相同:收件箱的子文件夹工作正常,收件箱本身不更新。但是,似乎在收件箱中获取新电子邮件的过程需要很长时间,最终显示“与服务器的连接失败”。
但是,Outlook Web Access 显示所有电子邮件(在收件箱以及收件箱的子文件夹中)
测试时,我从一台从未登录过的电脑登录了此帐户,然后启动了 Outlook。它以看似正确的方式下载了所有文件夹的内容,但收件箱除外,因为它看起来完全是空的。收件箱的子文件夹同样可以正常工作。
发送电子邮件似乎工作正常。
同一服务器上的所有其他帐户似乎运行正常。
服务器上的事件日志显示了许多此类错误:
来源:服务器 ActiveSync 类型:错误 事件 ID:3005
意外的 Exchange 邮箱服务器错误:服务器:[服务器名称] 用户:[受影响的用户名] HTTP 状态代码:[400]。请验证 Exchange 邮箱服务器是否正常工作。
Web 服务器日志显示违规请求如下
搜索 /exchange-oma/[affected_username]/
确实返回了 400 状态代码
从服务器上的“文件夹属性”显示,收件箱(不含子文件夹)的文件夹大小为 5'669'022 kB。
这是否可能“太大而无法处理”,并且我看到的所有症状都是由此造成的?
答案1
所以,实际上并不存在一个“简单”的解决方案。具体细节仍未解决。
我们所做的是在新机器上设置新的 Exchange 2010 Server(并且,为了保险起见,在另一台新机器上设置一个额外的域控制器),然后将邮箱从 Small Business Server 移动到 Exchange 2010。
当我们到达有问题的邮箱时,它拒绝移动并显示以下消息:
07.01.2013 19:01:07 [exchange-2010] Initializing folder hierarchy in mailbox 'Primary (76582dc1-1a82-428e-bd05-e1276800e425)': 105 folders total.
07.01.2013 19:01:17 [exchange-2010] Fatal error MapiExceptionPartialCompletion has occurred.
Error details: MapiExceptionPartialCompletion: Unable to copy to target. (hr=0x40680, ec=0)
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfErrorOrWarning(String message, Int32 hresult, Boolean allowWarnings, SafeExInterfaceHandle iUnknown, Exception innerException)
at Microsoft.Mapi.MapiUnk.ThrowIfErrorOrWarning(String message, Int32 hr)
at Microsoft.Mapi.MapiProp.CopyTo(MapiProp destProp, Boolean reportProgress, CopyPropertiesFlags copyPropertiesFlags, Boolean copySubObjects, ICollection`1 excludeTags)
at Microsoft.Mapi.MapiProp.ExportObjectHelper(IMapiFxProxy dest, PropTag[] tags, CopyPropertiesFlags copyPropertiesFlags, Boolean useCopyProps)
at Microsoft.Mapi.MapiProp.ExportObject(IMapiFxProxy fxProxy, CopyPropertiesFlags copyPropertiesFlags, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.LocalSourceFolder.Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo(IFxProxy destFolderProxy, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.SourceFolderWrapper.<>c__DisplayClass1.<Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo>b__0()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.SourceFolderWrapper.Microsoft.Exchange.MailboxReplicationService.ISourceFolder.CopyTo(IFxProxy destFolder, PropTag[] excludeTags)
at Microsoft.Exchange.MailboxReplicationService.MailboxCopierBase.CopyFolderProperties(FolderRecWrapper folderRec, ISourceFolder sourceFolder, IDestinationFolder destFolder, FolderRecDataFlags dataToCopy)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<>c__DisplayClass36.<>c__DisplayClass38.<CreateFolderHierarchy>b__31()
at Microsoft.Exchange.MailboxReplicationService.ExecutionContext.Execute(GenericCallDelegate operation)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<>c__DisplayClass36.<CreateFolderHierarchy>b__30(FolderRecWrapper folderRec, EnumFolderContext context)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.FolderMap.EnumSingleFolder(FolderRecWrapper folderRec, EnumFolderContext ctx, EnumFolderCallback callback, EnumHierarchyFlags flags)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.<CreateFolderHierarchy>b__2f(MailboxMover mbxCtx)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.ForeachMailboxContext(MailboxMoverDelegate del)
at Microsoft.Exchange.MailboxReplicationService.MoveBaseJob.CreateFolderHierarchy(Object[] wiParams)
at Microsoft.Exchange.MailboxReplicationService.CommonUtils.CatchKnownExceptions(GenericCallDelegate del, FailureDelegate failureDelegate)
Error context: --------
Operation: ISourceFolder.CopyTo
OperationSide: Source
Primary (76582dc1-1a82-428e-bd05-e1276800e425)
PropTags: [ContainerContents; FolderAssociatedContents; ContainerHierarchy; RulesTable; 1071710466]
--------
Folder: '/Top of Information Store/Inbox', entryId [len=46, data=00000000B55449F4D13FC54AAA4A5936050753AE01005896698ABF45814BA7D90A6A0EA2FEAF00000000329A0000], parentId [len=46, data=00000000B55449F4D13FC54AAA4A5936050753AE01005896698ABF45814BA7D90A6A0EA2FEAF0000000032970000]
07.01.2013 19:01:18 [exchange-2010] Removing target mailbox 'Primary (76582dc1-1a82-428e-bd05-e1276800e425)' due to an offline move failure.
07.01.2013 19:01:18 [exchange-2010] Relinquishing job.
我们认为这是该邮箱确实存在严重问题的最终证据。所以我们在旧服务器上删除了它,创建了一个新服务器,现在正在从 Outlook 中复制回所有需要的邮件、日历条目、联系人、笔记和待办事项。