use non-tls ssl?
This commit is contained in:
@@ -20,17 +20,14 @@
|
|||||||
|
|
||||||
# settings
|
# settings
|
||||||
zulipSettings = rec {
|
zulipSettings = rec {
|
||||||
# email settings
|
# email users
|
||||||
ZULIP_ADMINISTRATOR = "admin@${config.networking.domain}";
|
ZULIP_ADMINISTRATOR = "admin@${config.networking.domain}";
|
||||||
EMAIL_HOST_USER = ZULIP_ADMINISTRATOR;
|
EMAIL_HOST_USER = ZULIP_ADMINISTRATOR;
|
||||||
|
|
||||||
# configure mailserver port
|
# configure mailserver port
|
||||||
EMAIL_HOST = config.mailserver.fqdn;
|
EMAIL_HOST = config.mailserver.fqdn;
|
||||||
EMAIL_USE_TLS = config.mailserver.enableSubmissionSsl;
|
EMAIL_USE_TLS = false;
|
||||||
EMAIL_PORT =
|
EMAIL_PORT = 587;
|
||||||
if config.mailserver.enableSubmissionSsl
|
|
||||||
then 465
|
|
||||||
else 587;
|
|
||||||
|
|
||||||
# setting to allow realm creation; probably unsafe, might delete later :3
|
# setting to allow realm creation; probably unsafe, might delete later :3
|
||||||
OPEN_REALM_CREATION = true;
|
OPEN_REALM_CREATION = true;
|
||||||
@@ -44,4 +41,7 @@
|
|||||||
EXTERNAL_HOST = config.services.zulip.host;
|
EXTERNAL_HOST = config.services.zulip.host;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# needed fro non-tls connection through port 587
|
||||||
|
services.mailserver.enableSubmissionSsl = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user