mobilizon: setup emails

This commit is contained in:
Astro 2021-09-29 19:28:05 +02:00
parent a829d809f2
commit 1f4344f43e
1 changed files with 12 additions and 14 deletions

View File

@ -20,20 +20,18 @@
registrations_open = true;
default_language = "de";
};
# settings.":mobilizon"."Mobilizon.Web.Email.Mailer" = {
# adapter = { value = "Bamboo.SMTPAdapter"; _elixirType = "raw"; };
# server = "mail.c3d2.de";
# hostname = config.networking.hostName;
# auth = { value = ":if_available"; _elixirType = "atom"; };
# username = "mobilizon";
# password = "noneyet";
# port = 587;
# ssl = false;
# tls = { value = ":if_available"; _elixirType = "atom"; };
# allowed_tls_versions = { value = ''[:tlsv1, :"tlsv1.1", :"tlsv1.2"]''; _elixirType = "raw"; };
# retries = 1;
# no_mx_lookups = true;
# };
settings.":mobilizon"."Mobilizon.Web.Email.Mailer" = {
adapter = { value = "Bamboo.SMTPAdapter"; _elixirType = "raw"; };
server = "mail.c3d2.de";
hostname = config.networking.hostName;
auth = false;
port = 587;
ssl = false;
tls = { value = ":if_available"; _elixirType = "atom"; };
allowed_tls_versions = { value = ''[:tlsv1, :"tlsv1.1", :"tlsv1.2"]''; _elixirType = "raw"; };
retries = 1;
no_mx_lookups = true;
};
settings.":mobilizon".":logger" = {
level = { value = ":all"; _elixirType = "atom"; };
};