I havbe an issue (as do many others it seems) where I had to rename the domain name of my server.

Now, for all users who had accounts prior to the domain name changing, if they attempt to write to another user to whom they had written prior to the name change happening - AutoComplete returns two email addresses for the addressee. It returns the new one from the updated GAL and also the cached old address from the old GAL.

I am now to Zimbra so have no experience with what can and can't be done, and am not a web programmer. However, in looking through some of the code associated with AutoComplete it seems that the file

//depot/zcs/main/ZimbraWebClient/WebRoot/js/zimbraMail/share/model/ZmAutocomplete.js

has a prototype function for clearing out a user's cache


ZmAutocomplete.prototype.clearCache =
function(type, account) {
var acct = account || appCtxt.getActiveAccount();

if (type) {
this._acCache[acct.id][type] = {};
} else {
this._acCache[acct.id][ZmAutocomplete.AC_TYPE_CONTACT] = {};
this._acCache[acct.id][ZmAutocomplete.AC_TYPE_LOCATION] = {};
this._acCache[acct.id][ZmAutocomplete.AC_TYPE_EQUIPMENT] = {};
}
};


Is this function complete as it stands ?

And if it is, is there anyone out there that could encapsulate it within a Zimlet ?

Thanks for reading.Yeah, management of all this data is really horrible right now. This is an ugly workaround but you can manually edit this stuff via the preference plist.

If you have developer tools installed (specifically Property List Editor) or Plist Edit Pro, you can open the OmniWeb preference file and locate your autofill data and manage it this way, look for the key called 'OWFormAutoFillSets", your autofill data will be stored inside.

Plist Edit Pro lets you actually do multiple selection.

If you just want to nuke all your autofill data, you can do this via the defaults tool in terminal.