haraka / haraka-plugin-dns-list

DNS lists (DNSBL, DNSWL)
https://www.npmjs.com/package/haraka-plugin-dns-list
MIT License
1 stars 2 forks source link

introduce timeout in dnsbl #8

Closed celesteking closed 5 years ago

celesteking commented 6 years ago
1893998:May 27 19:02:50 in4 haraka[12315]: [DEBUG] [C6F5648A-9BDE-4165-8ADC-7A29D2E87E5D] [core] running connect hook in dnsbl plugin
1895545:May 27 19:03:20 in4 haraka[12315]: [CRIT] [C6F5648A-9BDE-4165-8ADC-7A29D2E87E5D] [core] Plugin dnsbl timed out on hook connect - make sure it calls the callback

There no mechanism in dnsbl plugin/framework present to work nicely around long running resolution process, but there should be one. It would be wonderful to implement this in dns_list_base.js rather than per-plugin.

msimerson commented 5 years ago

moved to wiki