feat: support setup with only an IPv4 address, but no domain#919
feat: support setup with only an IPv4 address, but no domain#919
Conversation
|
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 |
44fbb9f to
a6febae
Compare
a6febae to
06b6402
Compare
|
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 |
a5bcfb0 to
900d495
Compare
900d495 to
7f7c1b1
Compare
|
Just tested it on my VPS. Also, is it possible to use an IP based TLS certificate? |
Have you previously deployed on the same VPS with a domain? Can you send me your IP so I can check myself?
In many situations which we want to support that isn't possible (i.e. local IP addresses, IP addresses in areas where Let's Encrypt is blocked, ...) |
I just tried deploying on a new VPS and it's the same result. Here's the IP: https://45.39.33.245/
Sure, that's reasonable, but maybe there could be an option to use a certificate for situations where this is possible? |
The "QR code has been reset error" appears if you create two profiles with the same address :D when creating the second profile, refresh the webpage before clicking on the link, that will create a new QR code.
I tested it with nine.testrun.org, it could send to your no-dns relay, it just didn't receive messages from it. I tried sending back and forth, somehow your relay doesn't try to deliver messages to domain-based relays. Maybe |
Okay, that was a dumb mistake 😅
I did It also gave a bunch of these one of the times I tried that: Same thing with arcanechat.me. I tried pinging both addresses and the connection is good, so it must be something to do with smtp. |
Ah right - probably your hosting provider doesn't allow outgoing traffic to port 25. In many cases, you can ask them to unblock it because you want to run a mail server, some of them have specific criteria to allow it. |
|
Yes, it turned out they block it. Thank you for your help! |
j4n
left a comment
There was a problem hiding this comment.
looks good! re-skimmed, tested deployment and interop on a fresh vm :)
replaces #894
fix #936
This is a slightly alternative approach to ipv4-only relays. It splits up
mail_domainin 3 different possible config values:mail_domain: can be the domain of a relay, or13.12.23.42: this is used for routingmail_domain_deliverable: can be the domain of a relay, or[13.12.23.42]: this is used in the email addressesmail_domain_hostname: can be the domain of a relay, or42.23.12.13.in-addr.arpa: this is used asmyhostnamein postfixtodo:
mail_domainand see whether it's correctly used