Haraka
Haraka copied to clipboard
Issue with data.uribl plugin not looking up excludes
system info
Haraka | Haraka.js — Version: 2.8.18 |
---|---|
Node | v8.11.1 |
OS | Linux 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
openssl | OpenSSL 1.0.2k-fips 26 Jan 2017 |
Expected behavior
Plugin data.uribl is used with default settings; i.e. data.uribl.ini and data.uribl.excludes exists in default Haraka folder (/usr/lib/node_modules/Haraka/config). data.uribl.excludes should be scanned to exclude URI checks for listed domains. The default exclude file already has lots of entries.
The source code seems to write to debug that a URI found in the exclude should be logged with "skip: excluded domain:${host}
".
Observed behavior
I have an email with URIs in HTML Body that is being excluded because there's one being blacklisted. After checking, I confirm this URI is good. Before we can fully resolve the issue, I wanted to exclude it from the data.uribl check by updating the data.uribl.excludes file.
The content of data.uribl.excludes (either from local config or default config) never seem to be scanned even after restart. I don't see neither any "skip: excluded domain:${host}
" in the log even in DEBUG mode.
Doc does not outline any other file/setting to update to make this work.
I checked the latest version code and this does not seem to have changed on the way exclude list is being used. I'll wait before planning an upgrade.
Thanks for anyone's help.
Regards, Sylvain
never seem to be scanned even after restart
How would you know? Did you strace the process? You might want to copy the default file over to your haraka config dir and add a couple of new entires/delete some and check for config reload message in log.
should be logged with "skip: excluded domain:${host}"
As per docs , try putting into config/results.ini
:
[data.uribl]
debug=1