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. 🙂
The
allowed_domainsandblocked_domainssettings 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-domainsBeyond 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.jsoncc @jimdigriz, because you mentioned the idea in #96, but feel free to unsub otherwise. 🙂