Skip to content
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

support CHATMAIL_SERVER environment variable in generate-dns-zone.sh #83

Closed
wants to merge 6 commits into from

Conversation

missytake
Copy link
Contributor

In https://github.com/deltachat/chatmail/blob/main/deploy-chatmail/src/deploy_chatmail/deploy.py#L8, we support to specify CHATMAIL_SERVER explicitly, if you want it to be different than CHATMAIL_DOMAIN.

The use case for this is if you already have a website for example.org, and now want to deploy a chatmail server offering @example.org mail accounts on a different server, these values need to point to different machines.

We should setup a test server with this use case to test this scenario.

Base automatically changed from mta-sts to main November 25, 2023 00:03
@missytake missytake force-pushed the support-server-domain-separation branch from ab1cace to 3a32817 Compare November 25, 2023 00:58
@hpk42
Copy link
Contributor

hpk42 commented Nov 26, 2023

I remain a bit skeptical it's worth at this point to support a separation model for mx and http servers. I like the simplicity of the "one machine model" . But i think you and Alex are more in favor of it so ok.
But Let's at least use CHATMAIL_HTTP here .... "Server" is pretty ambiguous in my reading. We already use CHATMAIL_SSH.

@link2xt
Copy link
Contributor

link2xt commented Dec 1, 2023

Is there are request for this, e.g. do you want to run this setup yourself?

How would the mail server be discovered when user is configuring DC? Don't you need an autoconfig subdomain pointing to the chatmail server then?

@link2xt
Copy link
Contributor

link2xt commented Dec 1, 2023

I don't have any need for this myself, guess @missytake wants to run it like this for some existing domain.

The usecase as I understand is similar to running a chatmail server for delta.chat domain without the need to give control of https://delta.chat to the chatmail server.

@missytake
Copy link
Contributor Author

I don't have a pressing need either to be honest, just the expectation that it might be a matter for other organizations who'd be interested in hosting a chatmail server. Let's close this PR for now and revive it later if the need arises.

@missytake missytake closed this Dec 8, 2023
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.

None yet

3 participants