This module allows for creating new mail server record automatically if there are no matching domains found among existing mail server records: https://afterlogic.com/docs/webmail-pro/developers-guide/create-mail-server-records-automatically
This repository has a pre-commit hook. To make it work you need to configure git to use the particular hooks folder.
git config --local core.hooksPath .githooks/
This module is licensed under AGPLv3 license if free version of the product is used or Afterlogic Software License if commercial version of the product was purchased.