Start a conversation

Automatically adding email addresses to the Personal Contacts folder

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:

  1. 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.

  2. When the user is next reindexed, the new autocomplete entries will be added to the folder created for the purpose:
  3. 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.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments