-
-
Notifications
You must be signed in to change notification settings - Fork 62
feat: support setup with only an IPv4 address, but no domain #919
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
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e35d6df
dovecot: enable login names with square brackets
missytake 6864d5b
config: make IPv4-only relays use self-signed TLS certs
missytake 18342bc
postfix: make delivery for IP-only relays work
missytake e0f2254
cmdeploy: skip DNS checks for IPv4 only relays
missytake ef82a18
www: generate dclogin codes for IPv4-only relays
missytake 69c5de4
opendkim: disable DKIM signing on ipv4-only relays
missytake 92d3efb
get delivery working
missytake 0a2c536
get tests working on IPv4 only machine
missytake f310e92
doc: document IPv4-only relays
missytake 3d5b7b3
dns: warn if mail_domain is an IP, instead of checking DNS
missytake 27df0a4
config: validate domains when formatting them
missytake de77c17
ci: add cmlxc testing for no-DNS relays
missytake a69cbfc
ci: run no-dns and normal CI in parallel
missytake d9e61cb
retain "config.mail_domain" as the domain part of @ email addresses, …
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,35 @@ | ||
| 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" ] | ||
|
|
||
| # 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@d39fe34c39cee6d760c3479325e8dc82b66a8928 | ||
| with: | ||
| cmlxc_commands: | | ||
| cmlxc init | ||
| # single cmdeploy relay test | ||
| cmlxc -v deploy-cmdeploy --source ./repo --ipv4-only --no-dns cm0 | ||
| cmlxc -v test-cmdeploy --no-dns cm0 | ||
|
|
||
| # cross cmdeploy relay test | ||
| cmlxc -v deploy-cmdeploy --source ./repo cm1 | ||
| cmlxc -v test-cmdeploy --no-dns cm0 cm1 | ||
|
|
||
| # cross cmdeploy/madmail relay tests | ||
| cmlxc -v deploy-madmail mad0 | ||
| cmlxc -v test-cmdeploy --no-dns 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
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.