-
Notifications
You must be signed in to change notification settings - Fork 274
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
Static IP filter for SMTP #297
Comments
I'd like to propose renaming them to blocklist or denylist and allowlist. More one the topic: 😊 |
Well, fine. |
Trying to think of a generic-enough solution useful beyond the proposed use case. Something like:
Multiple allow/deny entries? What takes priority in what order? (note that it is typical for maddy config entries to be order-independent, I guess we would want to match that). |
We are going to omit any advanced functionality for now so lets consider two use cases:
These could be combined by using multiple config blocks.
The config above roughly means: reject all messages not from 10.0.0.0/8 but also reject messages from 10.0.0.0/24. Module behavior can be customized to allow custom action (e.g. quarantine instead of rejection) or allowed IPs to be pulled from an external source.
Note that Speaking of terminology, I am not sure "allowlist" conveys "exclusive" nature of "whitelist" clear enough. Unless someone provides me with a better name - I would go with "whitelist"/"blacklist". |
Is that already implemented? |
Use-case: Permitting messages to be sent only from specific addresses or subnets.
Context: https://news.ycombinator.com/item?id=25177676
The text was updated successfully, but these errors were encountered: