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

Wildcard domains in allowlist and blocklist #268

Open
stephank opened this issue Jul 13, 2021 · 0 comments
Open

Wildcard domains in allowlist and blocklist #268

stephank opened this issue Jul 13, 2021 · 0 comments

Comments

@stephank
Copy link
Member

The allowed_domains and blocked_domains settings currently only work with exact domain matches. Wildcards would be a useful addition so we can integrate with external lists like: https://github.com/ivolo/disposable-email-domains

Beyond that, it is my opinion that actually keeping those lists up-to-date is better left to administrators. A simple cronjob can do the fetching, and reloading (see also #267). In the above example list, converting the JSON to something portier-broker understands is probably as simple as: jq -r '.[]' ./index.json

cc @jimdigriz, because you mentioned the idea in #96, but feel free to unsub otherwise. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant