mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #265] Per-domain policy support #249
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/265
Originally assigned to: @tonioo on GitHub.
Originally created by Antoine Nguyen on 2012-06-07T07:25:02Z
The amavis extension should offer a way to edit per-domain policies.
h2. Proposal
Add a new "Content filter" tab into the domain edition form.
This tab will only propose a reduced set of settings:
The last setting requires more work as it must know which rules are defined into amavis configuration file. I see two solutions to get this information :
Add a new extension setting to let admin copy/paste the names present into the configuration file
Implement a simple tool that will scan the configuration file(s) and look for the '%banned_rules' hash
The first option is simple to implement but it introduces information duplication. It can be difficult to maintain.
The second one is more flexible but may introduce security issues as Modoboa will need a read access to the configuration file (ie. the user that runs Modoboa, www-data?). It can also be a performance killer if the configuration is parsed each time the tab is displayed...
A simple caching mechanism proposal:
h2. Who can access this feature
This proposal would work great for super users or resellers because they can access the domain management section. Domain administrators can't but I think it could be useful to let those users control those settings for the domain(s) they manage.
Allowing domain administrators to access this section introduce a big issue : they will also be able to modify domain properties.
What is the best to do ?