Overview
Kerio Connect does not have an option to automatically add email addresses to the personal address book (Contacts catalog). However, if the email was already sent to the unknown or new recipient, Kerio Connect stores the email address data in the AutocompleteContacts folder on the server-side.
This article provides a workaround on how to copy email addresses from that AutocompleteContacts folder into a dedicated personal Contacts folder.
Preconditions
Robocopy installed (for Windows)
Crontab installed (for Linux/Mac)
Solution
Using tools you can perform a daily copy, excluding existing content:
- An example would be
ROBOCOPY.EXE "C:\Program Files\Kerio\MailServer\store\mail\<Domain>\<user>\__wm__autoCompleteContacts\#msgs" "C:\Program Files\Kerio\MailServer\store\mail\<Domain>\<user>\<autocomplete folder>\#msgs" *.eml /XO
Note: the identical procedure applies for Linux/Mac systems, using standard Unix commands, e.g.
cp
, instead of Robocopy. The Windows mailstore path (C:\Program Files\Kerio\MailServer\store\mail
) should be replaced by/opt/kerio/mailserver/store/mail
or/usr/local/kerio/mailserver/store/mail
respectively. - When the user is next reindexed, the new autocomplete entries will be added to the folder created for the purpose:
- Additionally, it can be automated to run the first command on daily basis. For more information, please refer to the Microsoft Schtasks.exe docs.
For Linux/Mac, the automation can be done using the crontab tool.
Note: contact information will be missing, including names and surnames, which would later need to be added.