-
-
Notifications
You must be signed in to change notification settings - Fork 848
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
Move the Mailu Docker network to a fixed subnet. #727
Conversation
This will make network configuration and host based authentication more robust, across different deployment platforms. The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility. However, their usage have become optional.
Sorry, tests were failing. This is fixed now and ready for a new review ;) @HorayNarea |
This whole singe review thing does not really work 😝 Merging manually. |
We need to point out that SUBNET variables need to be set to get imap authentification working.... |
1649: Update docs/reverse.rst with Traefik v2+ info r=mergify[bot] a=patryk-tech ## What type of PR? Documentation ## What does this PR do? Adds information about using Traefik v2+ as a reverse proxy. ### Related issue(s) Closes #1503 ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. 1673: Remove rspamd unused env var from start script r=mergify[bot] a=cbachert ## What type of PR? Cleanup ## What does this PR do? Remove unused environment variable FRONT_ADDRESS in rspamd. FRONT_ADDRESS references were removed with commit 8172f3e in PR #727 like mentioned in chat https://matrix.to/#/!MINuyJjJSrfowljYCK:tedomum.net/$160401946364NGNmI:imninja.net?via=huisman.xyz&via=matrix.org&via=imninja.net ``` Mailu$ grep -r "FRONT_ADDRESS" core/rspamd/ core/rspamd/start.py:os.environ["FRONT_ADDRESS"] = system.get_host_address_from_environment("FRONT", "front") ``` ### Related issue(s) N/A ## Prerequistes - [x] Documentation updated accordingly: No documentation to update - [x] Add to changelog: Minor change 1718: Warn people off of the documentation's K8s recipe. r=mergify[bot] a=c4lliope Based on a discussion on Matrix (2020.12.19), the helm charts are the way to go. 1793: Fix Typo in Dutch Translation r=mergify[bot] a=DjVinnii ## What type of PR? Enhancement ## What does this PR do? There were 2 typos in the Dutch translation file. These typos are being fixed with this PR. ### Related issue(s) - None Co-authored-by: Patryk Tech <[email protected]> Co-authored-by: cbachert <[email protected]> Co-authored-by: Grace <[email protected]> Co-authored-by: Vincent Kling <[email protected]>
1649: Update docs/reverse.rst with Traefik v2+ info r=mergify[bot] a=patryk-tech ## What type of PR? Documentation ## What does this PR do? Adds information about using Traefik v2+ as a reverse proxy. ### Related issue(s) Closes #1503 ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. 1673: Remove rspamd unused env var from start script r=mergify[bot] a=cbachert ## What type of PR? Cleanup ## What does this PR do? Remove unused environment variable FRONT_ADDRESS in rspamd. FRONT_ADDRESS references were removed with commit 8172f3e in PR #727 like mentioned in chat https://matrix.to/#/!MINuyJjJSrfowljYCK:tedomum.net/$160401946364NGNmI:imninja.net?via=huisman.xyz&via=matrix.org&via=imninja.net ``` Mailu$ grep -r "FRONT_ADDRESS" core/rspamd/ core/rspamd/start.py:os.environ["FRONT_ADDRESS"] = system.get_host_address_from_environment("FRONT", "front") ``` ### Related issue(s) N/A ## Prerequistes - [x] Documentation updated accordingly: No documentation to update - [x] Add to changelog: Minor change Co-authored-by: Patryk Tech <[email protected]> Co-authored-by: cbachert <[email protected]>
1649: Update docs/reverse.rst with Traefik v2+ info r=mergify[bot] a=patryk-tech ## What type of PR? Documentation ## What does this PR do? Adds information about using Traefik v2+ as a reverse proxy. ### Related issue(s) Closes #1503 ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. 1673: Remove rspamd unused env var from start script r=mergify[bot] a=cbachert ## What type of PR? Cleanup ## What does this PR do? Remove unused environment variable FRONT_ADDRESS in rspamd. FRONT_ADDRESS references were removed with commit 8172f3e in PR #727 like mentioned in chat https://matrix.to/#/!MINuyJjJSrfowljYCK:tedomum.net/$160401946364NGNmI:imninja.net?via=huisman.xyz&via=matrix.org&via=imninja.net ``` Mailu$ grep -r "FRONT_ADDRESS" core/rspamd/ core/rspamd/start.py:os.environ["FRONT_ADDRESS"] = system.get_host_address_from_environment("FRONT", "front") ``` ### Related issue(s) N/A ## Prerequistes - [x] Documentation updated accordingly: No documentation to update - [x] Add to changelog: Minor change Co-authored-by: Patryk Tech <[email protected]> Co-authored-by: cbachert <[email protected]>
1649: Update docs/reverse.rst with Traefik v2+ info r=mergify[bot] a=patryk-tech ## What type of PR? Documentation ## What does this PR do? Adds information about using Traefik v2+ as a reverse proxy. ### Related issue(s) Closes #1503 ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. 1673: Remove rspamd unused env var from start script r=mergify[bot] a=cbachert ## What type of PR? Cleanup ## What does this PR do? Remove unused environment variable FRONT_ADDRESS in rspamd. FRONT_ADDRESS references were removed with commit 8172f3e in PR #727 like mentioned in chat https://matrix.to/#/!MINuyJjJSrfowljYCK:tedomum.net/$160401946364NGNmI:imninja.net?via=huisman.xyz&via=matrix.org&via=imninja.net ``` Mailu$ grep -r "FRONT_ADDRESS" core/rspamd/ core/rspamd/start.py:os.environ["FRONT_ADDRESS"] = system.get_host_address_from_environment("FRONT", "front") ``` ### Related issue(s) N/A ## Prerequistes - [x] Documentation updated accordingly: No documentation to update - [x] Add to changelog: Minor change Co-authored-by: Patryk Tech <[email protected]> Co-authored-by: cbachert <[email protected]>
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options
RELAYNETS
andPOD_ADDRESS_RANGE
are kept for compatibility.However, their usage have become optional.
This is a re-submission of PR #721