Versions / Builds Affected
2012 / 20121218Status
ResolvedProblem Summary
The quarantine digest is not sent. In checking the logs, the error "QuarDigest","ERROR:[GetRecipientList] System.ArgumentException: An item with the same key has already been added. " is present.TT / JIRAID
15How to Identify
The quarantine digest will not be sent despite the pickup and replay locations being correct. The quardigest logs will have this error:
2013-01-29,15:00:29,987,1,"#00001830","#00000003","error ","QuarDigest","ERROR:[GetRecipientList] System.ArgumentException: An item with the same key has already been added.
; at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
; at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
; at MEC.QuarantineDigest.Digest.GetRecipientList(ADUsersLookup adUsers)"Workaround / Fix Details
- Verify Customer is on MailEssentials 2014 build 20131107 or Later
The problem is that for one user the main email address and one of his alias email addresses was added to the list of digest recipients. You just need to find which recipient was added "twice" and remove the alias.
To work out the duplicate follow these steps:
- Open the QuarDigest.log
- Locate the line of recipients and note the order of the email addresses:
2013-01-29,15:00:29,847,1,"#00001830","#00000003","info ","QuarDigest","s.trickett@engineaustralia.com.au;k.donovan@engineaustralia.com.au;m.bryers@engineaustralia.com.au;p.sturgess@engineaustralia.com.au;j.campbell@engineaustralia.com.au;t.franklin@engineaustralia.com.au;t.drennen@engineaustralia.com.au;a.baillie@engineaustralia.com.au;"
- Locate the last successful line before the error and note down the email address:
2013-01-29,15:00:29,987,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: t.drennan@engineaustralia.com.au"
2013-01-29,15:00:29,987,1,"#00001830","#00000003","error ","QuarDigest","ERROR:[GetRecipientList] System.ArgumentException: An item with the same key has already been added.
- Check the next email address in the list of recipients and remove it from the list (in this case "a.baillie@engineaustralia.com.au")
You can also verify your finding by looking if a.baillie@engineaustralia.com.au is indeed an alias for another main email address in the logs:
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Getting primary/proxy emails for m.bryers@engineaustralia.com.au..."
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Querying LDAP://DC=engineaustralia,DC=com,DC=au"
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: a.baillie@engineaustralia.com.au"
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: a.deede@engineaustralia.com.au"
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: p.white@engineaustralia.com.au"
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: b.smith@engineaustralia.com.au"
2013-01-29,15:00:29,925,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: v.brown@engineaustralia.com.au"
2013-01-29,15:00:29,941,1,"#00001830","#00000003","info ","QuarDigest","Found proxy address: markbryers@engineaustralia.com.au"Required Actions
- Verify Customer is on MailEssentials 2014 build 20131107 or Later
Try to find the duplicate address. If unsuccessful - escalate to PSG