This issue can occur after you initially add the custom recipients. On a subsequent pass containing modifications, some records will generate this error. Examination of the data reveals that the error occurs on those records where either the primary SMTP reply or an SMTP proxy address have changed places.
Consider the following custom recipient example, where SMTP denotes the primary reply address, and SMTP indicates a proxy address:
SMTP: John.Doe@company.com
smtp: johnd@company.com
If a new primary SMTP address is assigned and the old one is moved into the proxy addresses, the error occurs:
SMTP: JDoe@company.com
smtp: John.Doe@company.com
smtp: johnd@company.com
An error entry that is similar to the following entry appears in your Zscript.log file:
******************************************************************
Updating the Connected Directory's Foreign Users
******************************************************************
Start of the LDAP update process
Invalid modification response 20 - ATTRIBUTE OR VALUE EXISTS for object CN=SmallmouthB(Freshwater),CN=Foreign,OU=Harbor,O=Saltwater
Update directory completed: 6 objects processed
******************************************************************
Successful update of Connected Directory's Foreign Users
******************************************************************
The reason for this error is that the updates to the object are evaluated as a whole by LDAP. Either all fields succeed or the record fails. When the values are checked for otherMailbox against the existing record, the current primary SMTP address will match the value that is destined for otherMailbox and the error occurs.