Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 805 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 805 Bytes

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]
[email protected]={SHA512-CRYPT}$6$...

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

doveadm pw -s SHA512-CRYPT -u [email protected] -p 'password'

or using the provided gen.js like this:

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