Skip to content

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
docs-ssh-host-local
Open

feat(cmdeploy): add ssh_host chatmail.ini option to deploy remotely, recommend localhost deployment as default#852
missytake wants to merge 5 commits intoconfig-empty-defaultsfrom
docs-ssh-host-local

Conversation

@missytake
Copy link
Contributor

@missytake missytake commented Feb 16, 2026

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" on cmdeploy init to be the default for new operators, but which will default to mail_domain if 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.

@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 16, 2026 15:18 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 16, 2026 15:18 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 16, 2026 15:18 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 16, 2026 15:59 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 16, 2026 15:59 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 16, 2026 15:59 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 09:58 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 17, 2026 09:58 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging-ipv4.testrun.org February 17, 2026 09:58 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 12:23 — with GitHub Actions Inactive
@missytake missytake had a problem deploying to staging-ipv4.testrun.org February 17, 2026 12:23 — with GitHub Actions Error
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 14:17 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 14:38 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 15:05 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 17:11 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 19:54 — with GitHub Actions Inactive
@missytake missytake had a problem deploying to staging-ipv4.testrun.org February 17, 2026 19:54 — with GitHub Actions Error
@missytake missytake temporarily deployed to staging2.testrun.org February 17, 2026 20:00 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 20:00 — with GitHub Actions Inactive
@missytake missytake had a problem deploying to staging-ipv4.testrun.org February 17, 2026 20:00 — with GitHub Actions Error
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 20:07 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 20:14 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging.chatmail.at/doc/relay/ February 17, 2026 20:18 — with GitHub Actions Inactive
@missytake missytake temporarily deployed to staging2.testrun.org February 17, 2026 20:18 — with GitHub Actions Inactive
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.

1 participant