This example demonstrates integration of Kaspersky Security 8.0 for Linux Mail Server with custom users' database.
The users' database is stored in the plain text file user_accounts.txt.
To integrate with custom users' database do the following: 
1. Specify the domain DOMAIN="example.com" in common.sh file.
2. Export the settings of Auth task via klms-control utility into a text file.
3. Assign the "Custom" value to the "ScriptType" parameter in the Auth task settings file.
4. Place the custom scripts to /etc/opt/kaspersky/klms/scripts directory on Linux or /usr/local/etc/kaspersky/klms/scripts on FreeBSD.
5. Import the Auth task settings from the text file via klms-control utility.
