Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with not looking up excludes #11

Open
prismanet opened this issue Jan 10, 2019 · 1 comment
Open

Issue with not looking up excludes #11

prismanet opened this issue Jan 10, 2019 · 1 comment

Comments

@prismanet
Copy link

prismanet commented Jan 10, 2019

system info

Haraka Haraka.js — Version: 2.8.18
Node v8.11.1
OS Linux 3.10.0-862.2.3.el7.x86_64 haraka/Haraka#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

@celesteking
Copy link

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

@msimerson msimerson transferred this issue from haraka/Haraka Apr 24, 2024
@msimerson msimerson changed the title Issue with data.uribl plugin not looking up excludes Issue with not looking up excludes Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants