While working on OCS10g when we create a new user, we cannot login to webmail client using the created user ID and password. If we check the user in OID, it says that user has been created successfully.
But if we “View” the user in OID using the view button, you can see at the bottom of the page in E-Mail provisioning following error.
Status – Failed
[ESDS error code – 10004] Invalid Email Id
This is a known issue with OCS. This happens when you try to register a user, which was deleted previously. When you delete a user previously, it removes the information about the user, but it doesn’t delete the user mail store information from the database that is where the problem occurs.
So we need to delete the user mail store information from database manually. Below steps should be executed for removing the mail store information from database and registering the user successfully.
1) Delete the user from OID.
2) Run the following command to remove the mail store information from database.
oesucr filename -clean_user_mailstore_data
Here filename contains the mail ID of the user to be delete. The format of (filename) file is
mail=avdeo@ap6023fems.us.oracle.com
When you run the command you can see following output
-bash-3.00$ oesucr test.txt -clean_user_mailstore_data
users delete from mailstore list size=1
user to delete mailstore =avdeo@ap6023fems.us.oracle.com
3) Register the user again in OID. This time you can see E-Mail provisioning status as successful.
Hope this help !!
References:
Metalink Nore ID : 333235.1
Enhancement request has been filled for the same by andras.kecskes@oracle.com (5240052 - MORE ADMINISTRATOR FRIENDLY DEPROVISIONING)