feat(cmdeploy): add ssh_host chatmail.ini option to deploy remotely, recommend localhost deployment as default#852
Open
missytake wants to merge 5 commits intoconfig-empty-defaultsfrom
Open
Conversation
5 tasks
5b27f82 to
1f14eff
Compare
1f14eff to
41234c7
Compare
0afe34e to
fe1d56e
Compare
9690441 to
430d488
Compare
430d488 to
32a995c
Compare
666eb9c to
c6f4e3b
Compare
c6f4e3b to
226ff3f
Compare
This was referenced Feb 17, 2026
remove mentions of the build machine / deployment server separation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
pyinfra, stemming from ansible, has a build machine / deployment server separation which we don't actually need in this project. We are mostly using it to script the installation, not to document our deployment; and I don't know of anyone importing cmdeploy as a pyinfra deployment module (other than https://github.com/deltachat/pyinfra-borgbackup/ for example).
We could make it easier for future operators by simply assuming that you install cmdeploy on the relay itself. This also helps with people having weird laptop OSes.
The idea is to add a chatmail.ini config parameter,
ssh_host, which will be set to "localhost" oncmdeploy initto be the default for new operators, but which will default tomail_domainif unset, so existing deployments keep working with their chatmail.ini files. This could become a problem if some is used to setup chatmail relays remotely without keeping the chatmail.ini file around, though.based on both #856 and #853, they should be reviewed beforehand.