Reset contact Autocomplete ranking: Difference between revisions
No edit summary |
|||
Line 2: | Line 2: | ||
=Reset contact Autocomplete ranking and delete a single contact using zmsoap= | =Reset contact Autocomplete ranking and delete a single contact using zmsoap= | ||
==Purpose== | ==Purpose== | ||
Customer like to reset contact Autocomplete ranking to get | Customer would like to reset contact Autocomplete ranking to get rid of a duplicate lookup. | ||
==Resolution== | ==Resolution== | ||
Autocomplete ranking is stored in mysql database | Autocomplete ranking is stored in the mysql database. To reset it, use the following SOAP command line: | ||
* Reset ranking table data:- | * Reset ranking table data:- | ||
su - zimbra | su - zimbra | ||
Line 16: | Line 16: | ||
zmprov fc account USERNAME@DOMAIN.COM | zmprov fc account USERNAME@DOMAIN.COM | ||
If you want to delete a single contact instead of resetting complete ranking table then use following commands:- | If you want to delete a single contact instead of resetting the complete ranking table, then use the following commands:- | ||
zmsoap -z -m USERNAME@DOMAIN.COM RankingActionRequest/action @op=delete @email=ANONYMOUS@gmail.com | zmsoap -z -m USERNAME@DOMAIN.COM RankingActionRequest/action @op=delete @email=ANONYMOUS@gmail.com | ||
zmprov fc account USERNAME@DOMAIN.COM | zmprov fc account USERNAME@DOMAIN.COM | ||
'''Note:''' | '''Note:''' | ||
Replace '''ANONYMOUS@gmail.com''' with that contact which you want to delete from ranking table. | Replace '''ANONYMOUS@gmail.com''' with that contact which you want to delete from the ranking table. | ||
==Additional Content== | ==Additional Content== | ||
Line 28: | Line 28: | ||
{{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|04/15/2015}} | {{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|04/15/2015}} | ||
{{NeedSME|SME1|SME2| | {{NeedSME|SME1|SME2|Jenny Jarrard}} |
Revision as of 15:54, 21 May 2015
Article Information |
---|
This article applies to the following ZCS versions. |
Reset contact Autocomplete ranking and delete a single contact using zmsoap
Purpose
Customer would like to reset contact Autocomplete ranking to get rid of a duplicate lookup.
Resolution
Autocomplete ranking is stored in the mysql database. To reset it, use the following SOAP command line:
- Reset ranking table data:-
su - zimbra zmsoap -z -m user@domain.com RankingActionRequest/action @op=reset
- Remove all contacts from "Emailed Contacts" folder:-
zmmailbox -z -m USERNAME@DOMAIN.COM ef /"Emailed Contacts"
- Now flush the account cache:-
zmprov fc account USERNAME@DOMAIN.COM
If you want to delete a single contact instead of resetting the complete ranking table, then use the following commands:-
zmsoap -z -m USERNAME@DOMAIN.COM RankingActionRequest/action @op=delete @email=ANONYMOUS@gmail.com zmprov fc account USERNAME@DOMAIN.COM
Note: Replace ANONYMOUS@gmail.com with that contact which you want to delete from the ranking table.
Additional Content
- You can see a complete SOAP information in the next Wiki article.