-
-
Notifications
You must be signed in to change notification settings - Fork 62
feat: support setup without domain, with only an IPv4 address #963
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
cc2a962
dovecot: enable login names with square brackets
missytake 21a7b56
config: make IPv4-only relays use self-signed TLS certs
missytake ebbbbfc
postfix: make delivery for IP-only relays work
missytake c56c519
cmdeploy: skip DNS checks for IPv4 only relays
missytake ff67b69
www: generate dclogin codes for IPv4-only relays
missytake b5633f2
opendkim: disable DKIM signing on ipv4-only relays
missytake 2c5c8d7
get delivery working
missytake db00af2
get tests working on IPv4 only machine
missytake b723450
doc: document IPv4-only relays
missytake 03ec32f
dns: warn if mail_domain is an IP, instead of checking DNS
missytake 788304f
config: validate domains when formatting them
missytake 39aee24
ci: add cmlxc testing for no-DNS relays
missytake de1b268
ci: run no-dns and normal CI in parallel
missytake 787d86f
retain "config.mail_domain" as the domain part of @ email addresses, …
hpk42 6c84efb
ci: migrate from --no-dns to --type ipv4 for cmlxc compatibility
hpk42 4f76975
cleanup dead code, fix docs, fixate cmlxc version
hpk42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| name: No-DNS | ||
|
|
||
| on: | ||
| # Triggers when a PR is merged into main or a direct push occurs | ||
| push: | ||
| branches: [ "main" ] | ||
|
|
||
| # Triggers for any PR (and its subsequent commits) targeting the main branch | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| permissions: {} | ||
|
|
||
| # Newest push wins: Prevents multiple runs from clashing and wasting runner efforts | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
|
|
||
| jobs: | ||
| no-dns: | ||
| name: LXC deploy and test | ||
| uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@v0.14.6 | ||
| with: | ||
| cmlxc_version: v0.14.6 | ||
| cmlxc_commands: | | ||
| cmlxc init | ||
| # single cmdeploy relay test | ||
| cmlxc -v deploy-cmdeploy --source ./repo --type ipv4 cm0 | ||
| cmlxc -v test-cmdeploy cm0 | ||
|
|
||
| # cross cmdeploy relay test (two ipv4 relays) | ||
| cmlxc -v deploy-cmdeploy --source ./repo --ipv4-only --type ipv4 cm1 | ||
| cmlxc -v test-cmdeploy cm0 cm1 | ||
|
|
||
| # cross cmdeploy/madmail relay tests | ||
| cmlxc -v deploy-madmail mad0 | ||
| cmlxc -v test-cmdeploy cm0 mad0 | ||
| cmlxc -v test-mini mad0 cm0 | ||
| cmlxc -v test-mini cm0 mad0 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.