diff options
| author | andromeda <andromeda@lenovo> | 2026-01-12 17:35:38 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-12 17:35:38 +0100 |
| commit | a7e65a0943e20e18f5e18094ba2cc29bf8831914 (patch) | |
| tree | a56185f879cee590b2d8b9c919cbbe7bc0ac9d0c /modules | |
| parent | d2e95f2fb85ab5b49ba1d23f09d0a0b6144a5cbb (diff) | |
use non-tls ssl?
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nixos/zulip.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/nixos/zulip.nix b/modules/nixos/zulip.nix index 6f30ead..3ed286c 100644 --- a/modules/nixos/zulip.nix +++ b/modules/nixos/zulip.nix @@ -20,17 +20,14 @@ # settings zulipSettings = rec { - # email settings + # email users ZULIP_ADMINISTRATOR = "admin@${config.networking.domain}"; EMAIL_HOST_USER = ZULIP_ADMINISTRATOR; # configure mailserver port EMAIL_HOST = config.mailserver.fqdn; - EMAIL_USE_TLS = config.mailserver.enableSubmissionSsl; - EMAIL_PORT = - if config.mailserver.enableSubmissionSsl - then 465 - else 587; + EMAIL_USE_TLS = false; + EMAIL_PORT = 587; # setting to allow realm creation; probably unsafe, might delete later :3 OPEN_REALM_CREATION = true; @@ -44,4 +41,7 @@ EXTERNAL_HOST = config.services.zulip.host; }; }; + + # needed fro non-tls connection through port 587 + services.mailserver.enableSubmissionSsl = true; } |
