diff --git a/deploy-chatmail/src/deploy_chatmail/__init__.py b/deploy-chatmail/src/deploy_chatmail/__init__.py index cc9463a5..62494a04 100644 --- a/deploy-chatmail/src/deploy_chatmail/__init__.py +++ b/deploy-chatmail/src/deploy_chatmail/__init__.py @@ -277,6 +277,12 @@ def deploy_chatmail(mail_domain: str, mail_server: str, dkim_selector: str) -> N opendkim_need_restart = _configure_opendkim(mail_domain, dkim_selector) nginx_need_restart = _configure_nginx(mail_domain) + # deploy web pages and info if we have them + pkg_root = importlib.resources.files(__package__) + www_path = pkg_root.joinpath(f"../../../www/{mail_domain}").resolve() + if www_path.is_dir(): + files.rsync(f"{www_path}/", "/var/www/html", flags=["-avz"]) + systemd.service( name="Start and enable OpenDKIM", service="opendkim.service", diff --git a/www/nine.testrun.org/collage-bg.png b/www/nine.testrun.org/collage-bg.png new file mode 100644 index 00000000..2b33e00c Binary files /dev/null and b/www/nine.testrun.org/collage-bg.png differ diff --git a/www/nine.testrun.org/collage-down.png b/www/nine.testrun.org/collage-down.png new file mode 100644 index 00000000..dc1c384d Binary files /dev/null and b/www/nine.testrun.org/collage-down.png differ diff --git a/www/nine.testrun.org/collage-top.png b/www/nine.testrun.org/collage-top.png new file mode 100644 index 00000000..698ec0b5 Binary files /dev/null and b/www/nine.testrun.org/collage-top.png differ diff --git a/www/nine.testrun.org/index.html b/www/nine.testrun.org/index.html new file mode 100644 index 00000000..855ed920 --- /dev/null +++ b/www/nine.testrun.org/index.html @@ -0,0 +1,61 @@ + + +
+ +
+ + to get an account, + invent a word with exactly nine characters + and append @nine.testrun.org to it. + eg. hellofits@nine.testrun.org +
++ if the email address is not yet taken, you'll get that account. + the first login sets your password. + that's it. +
+
+ why are other email providers 1000 times more complicated?
+because they want to for $reasons
+