cmdeploy: add ssh_host chatmail.ini option to deploy remotely

This commit is contained in:
missytake
2026-02-17 20:33:16 +01:00
parent a9dd9fe3e0
commit e1a8d798d3
4 changed files with 10 additions and 6 deletions
+1
View File
@@ -19,6 +19,7 @@ class Config:
params = dict(params)
raw_domain = params.pop("mail_domain")
self.mail_domain_bare = raw_domain
self.ssh_host = params.pop("ssh_host", raw_domain)
if is_valid_ipv4(raw_domain):
self.ipv4_relay = raw_domain
@@ -3,6 +3,9 @@
# mail domain (MUST be set to fully qualified chat mail domain)
mail_domain = {mail_domain}
# Where to deploy the relay - if unspecified, mail_domain will be used.
ssh_host = localhost
#
# If you only do private test deploys, you don't need to modify any settings below
#