DKIM plugin for ZoneMTA
				
			
		| config | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
zonemta-deepofix-dkim: DKIM plugin for ZoneMTA
This plugin signs DKIM for emails by loading keys from filesystem.
Install
npm i zonemta-deepofix-dkim
Configuration
Keys are organized in a hierarchical structure, where the plugin automatically locates the correct key by checking for a file at $keys_dir/$DOMAIN/$SELECTOR.private
keys_dir: DKIM keys path
mkdir dkim/
cp node_modules/zonemta-deepofix-dkim/config/dkim_gen_key.sh dkim/
cp node_modules/zonemta-deepofix-dkim/config/deepofix-dkim.toml config/plugins/
$EDITOR config/plugins/deepofix-dkim.toml
Create DKIM key
cd dkim
bash dkim_gen_key.sh example.com
DKIM script will generate 3 files under $DOMAIN directory.
dns: Info about TXT record which needs to be created$SELECTOR.private: Private key$SELECTOR.txt: Public key
Add TXT records as specified in dkim/example.com/dns