Skip to content

feat: support setup with only an IPv4 address, but no domain#919

Open
missytake wants to merge 11 commits intomainfrom
ipv4-only-retry
Open

feat: support setup with only an IPv4 address, but no domain#919
missytake wants to merge 11 commits intomainfrom
ipv4-only-retry

Conversation

@missytake
Copy link
Copy Markdown
Contributor

@missytake missytake commented Apr 14, 2026

replaces #894

This is a slightly alternative approach to ipv4-only relays. It splits up mail_domain in 3 different possible config values:

  • mail_domain: can be the domain of a relay, or 13.12.23.42: this is used for routing
  • mail_domain_deliverable: can be the domain of a relay, or [13.12.23.42]: this is used in the email addresses
  • mail_domain_hostname: can be the domain of a relay, or 42.23.12.13.in-addr.arpa: this is used as myhostname in postfix

todo:

@j-g00da
Copy link
Copy Markdown
Collaborator

j-g00da commented Apr 14, 2026

I'm not sure of benefits of this approach, do we need so much control over these?

@missytake missytake temporarily deployed to staging2.testrun.org April 15, 2026 10:39 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org April 15, 2026 10:39 — with GitHub Actions Inactive
@missytake
Copy link
Copy Markdown
Contributor Author

I'm not sure of benefits of this approach, do we need so much control over these?

I think it's much less confusing in the long run, if we separate these different usages of mail_domain consistently. It only makes sense if there is IPv4-only CI though, so we can see if mail_domain_* is used wrongly somewhere.

@missytake missytake temporarily deployed to staging-ipv4.testrun.org April 15, 2026 13:00 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org April 15, 2026 13:00 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org April 16, 2026 09:32 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org April 16, 2026 09:32 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org April 16, 2026 09:33 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org April 16, 2026 09:33 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org April 16, 2026 09:59 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org April 16, 2026 09:59 — with GitHub Actions Inactive
@missytake
Copy link
Copy Markdown
Contributor Author

missytake commented Apr 16, 2026

The documentation linkchecker fails, but the internal link works (locally and in the staging documentation preview): https://staging.chatmail.at/doc/relay/919/getting_started.html

Any idea how we can link to pages in the same documentation in a way that the CI is happy?

edit: fixed

@missytake missytake changed the title WIP: feat: support setup with only an IPv4 address, but no domain feat: support setup with only an IPv4 address, but no domain Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants