Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: init_wildduck_transaction in index, in case hook_mail not run (#33)
* init_wildduck_transaction in index, in case hook_mail not run There's no guarantee that hook_mail will get run. If some other Haraka plugin runs on hook_mail before wildduck and calls `next(OK)`, then wildduck's hook_mail won't ever get called. That crashes the plugin in the recipient handler that does this: `const { recipients, forwards, users } = txn.notes.targets;`. Additionally: - add @haraka/eslint-config (which brings in Haraka globals) - use shorter logging syntax - * preserve arity of real_rcpt_handler
- Loading branch information