Problem
The Event ID's below have been found during the attempt to archive emails that have been imported from Google mail.
Error Message
Event Type: Warning
Event Source: Enterprise Vault
Event Category: Archive Task
Computer:
Description:
A queued operation exceeded the retry count and has been discarded
m_pIBackgroundArchivingAgent->ProcessItemEx(Priority = "false",
ExchangeSystem = "",
m_pILocation,
(ULONG)EntryIdSize = 70,
EntryId,
VaultId = "14C779149C088A44AB0775DB4376F7E441110000evsite",
ArchiveId = "11E9D6A8C721B034F93A459E637155FCA1110000evsite",
RetentionCategory = "163A30496E8E819429B9C7729FD04CE991b10000evsite",
UserMailboxDn = "/o=CorpLAN/ou=First Administrative Group/cn=Recipients/cn=test@domain.com",
MessageTitle = "RE: IIR NY Next Gen Registration Credit Card Options",
nRetryCount = 3,
NULL,
CallerSID,
isAReArchive = 0, ArchiveTransId = "E0A05D57075500013FDB6AB53FA55EF1", IndexedPropertiesSet = "");
HRESULT: 0x80040107
V-437-2270
Event Type: Error
Event Source: Enterprise Vault
Event Category: Archive Task
Event ID: 3007
User: N/A
Computer:
Description:
Could not build a saveset for the message titled RE: IIR /o=Corp/ou=First Administrative Group/cn=Recipients/cn=test@domain.com, function CArchivingAgent::PI_BuildSaveset failed
Error returned = 0x80040107
V-437-3007
Event Type: Error
Event Source: Enterprise Vault
Event Category: Archive Task
Event ID: 2244
Computer:
Description:
An error occurred whilst processing the message titled: RE: IIR /o=CorpLAN/ou=First Administrative Group/cn=Recipients/cn=test@domain.com, the message will not be archived and could not be changed back from the Archive Pending state.
V-437-2244
Dtrace of ArchiveTask will shows following lines:
EV:M CExchangeArchivableItem::GetSenderRecipientInfoV2 - Creating recipient information in XML [dn=User1, LastName], [ea=L]
EV:M (rxml)bain() - Get Author Properties of message
EV:M (rxml)bain() - An error occurred 0x8004010
Note: Opening affected messages in MFCMAPI show no email address in either the PR_SENDER_EMAIL_ADDRESS and PR_SENDER_ENTRY_ID fields. When double clicking the From field for an affected item in Outlook, the error below will show:
“Cannot perform the requested operation. The command selected is not valid for this recipient. The entry ID is not valid.”
Cause
It has been found that those messages have malformed MAPI properties. For example the 'PR_SENDER_EMAIL_ADDRESS' property is set to 'some other value', where in a regular message this is either an e-mail address or a distinguished name. For these messages to archive properly, they will need to be repaired prior to them being archived.
Solution
The only work around possible is to move the affected messages to a PST for ingestion after which the messages are archived. The difference between e-mail archiving and the PST Import process comes down to validation. When archiving from Exchange, particular MAPI attributes are required and validated they are formatted correctly since they are within an Exchange environment. However, messages from a PST can derive from different types of mail systems therefore less validation is required.