haraka-plugin-auth-enc-file

October 26, 2018 ยท View on GitHub

NPM

haraka-plugin-auth-enc-file

Greenkeeper badge

This plugin uses an encrypted file to authenticate a user. Currently only SHA512CRYPT is supported.

Configuration

Configuration is stored in config/auth_enc_file.ini and uses the INI style formatting.

Example:

[users]
user@domain.com={SHA512-CRYPT}\$6$...

SHA512-CRYPT hashes can be generated using Dovecot like this:

doveadm pw -s SHA512-CRYPT -u user@domain.com -p 'password'

or using the provided gen.js like this:

node ./gen.js [username] [password]