Open wioxjk opened 2 years ago
Apparently, you need to place the index,js into the plugins catalogue, renaming it to graceyard.js
graveyard.ini needs to be called graveyard.timeout in order for haraka to pick it up
[CRIT] [5FF5EBD4-9B27-4DE7-A225-742E9F5ABA11.1.1] [outbound] Plugin graveyard failed: TypeError: Cannot read property 'max_failures_before_graveyard' of undefined
at Plugin.exports.graveyard_deferred (/root/haraka-poc/plugins/graveyard.js:18:60)
at Object.plugins.run_next_hook (/usr/lib/node_modules/Haraka/plugins.js:540:28)
at Object.plugins.run_hooks (/usr/lib/node_modules/Haraka/plugins.js:449:13)
at HMailItem.temp_fail (/usr/lib/node_modules/Haraka/outbound/hmail.js:1377:17)
at pluggableStream.<anonymous> (/usr/lib/node_modules/Haraka/outbound/hmail.js:785:33)
at pluggableStream.emit (events.js:400:28)
at pluggableStream.on_socket_data (/usr/lib/node_modules/Haraka/line_socket.js:25:20)
at pluggableStream.emit (events.js:400:28)
at Socket.<anonymous> (/usr/lib/node_modules/Haraka/tls_socket.js:59:18)
at Socket.emit (events.js:400:28)
Content of graveyard.timeout:
[graveyard]
max_failures_before_graveyard = 4
next_hop = 192.168.25.25:25
From what I've learned when looking into haraka plugins, this one here is very outdated.
From what I've learned when looking into haraka plugins, this one here is very outdated.
I have understood that too. What would you recommend instead?
I would fork this repo and create an updated version.
I would fork this repo and create an updated version.
Better late than never, but to bad that I am unable to write any functional code :))))
As the title say - I am unable to get it to work with Haraka 2.8.27