mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[GH-ISSUE #3527] ALLOWED_HOSTS #1855
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#1855
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 @olaf7 on GitHub (Apr 13, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3527
This has probably been in Modoboa for a some time. The name of the variable in settings.py is filled with a single setting by the installer. However a manual installation and/or one with tweaked configuration might have an effect.
The name suggests multiple hostnames (aliases) can be user/added as ALLOWED_HOSTS is plural.
However the data initialization code only takes the first hostname into consideration making the others irrelevant?
lines 30-36 : /modoboa/core/commands/templates/settings.py.tpl
lines 105-111 : /modoboa/core/management/commands/load_initial_data.py
Suggested solution:
Validate value(s) and report when running manage.py load_initial_data and/or document the behaviour.
@stale[bot] commented on GitHub (Jun 26, 2025):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@tonioo commented on GitHub (Jul 2, 2025):
@olaf7 Could you create a PR for that please?
@olaf7 commented on GitHub (Jul 4, 2025):
Time permitting I can do that. Is there a guideline, template, test procedure or something else I should take into consideration?
Is the docker setup currently working on Debian stable for development and test purposes?
@tonioo commented on GitHub (Jul 5, 2025):
You can find some information here: https://modoboa.readthedocs.io/en/latest/contributing/getting_started.html.