Enable gitea email notifications
This commit is contained in:
parent
154b37879b
commit
1065cc4b59
@ -32,12 +32,19 @@ in
|
||||
};
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
MAILER_TYPE = "sendmail";
|
||||
FROM = "do-not-reply@neet.dev";
|
||||
SENDMAIL_PATH = "/run/wrappers/bin/sendmail";
|
||||
SENDMAIL_ARGS = "--";
|
||||
MAILER_TYPE = "smtp";
|
||||
SMTP_ADDR = "mail.neet.dev";
|
||||
SMTP_PORT = "465";
|
||||
IS_TLS_ENABLED = true;
|
||||
USER = "robot@runyan.org";
|
||||
FROM = "no-reply@neet.dev";
|
||||
};
|
||||
};
|
||||
mailerPasswordFile = "/run/agenix/robots-email-pw";
|
||||
};
|
||||
age.secrets.robots-email-pw = {
|
||||
file = ../../secrets/robots-email-pw.age;
|
||||
owner = config.services.gitea.user;
|
||||
};
|
||||
|
||||
# backups
|
||||
|
@ -37,6 +37,14 @@ in
|
||||
# catchall for all domains
|
||||
aliases = map (domain: "@${domain}") domains;
|
||||
};
|
||||
"robot@runyan.org" = {
|
||||
aliases = [
|
||||
"no-reply@neet.dev"
|
||||
"robot@neet.dev"
|
||||
];
|
||||
sendOnly = true;
|
||||
hashedPassword = "$2b$05$hkmwXGJSKuG/1.SmLecWSuzlq1F5pjp2ScoipQoVLR0ssSN5MgRs.";
|
||||
};
|
||||
};
|
||||
rejectRecipients = [
|
||||
"george@runyan.org"
|
||||
|
BIN
secrets/robots-email-pw.age
Normal file
BIN
secrets/robots-email-pw.age
Normal file
Binary file not shown.
@ -15,6 +15,7 @@ in
|
||||
# email
|
||||
"email-pw.age".publicKeys = all;
|
||||
"sasl_relay_passwd.age".publicKeys = all;
|
||||
"robots-email-pw.age".publicKeys = all;
|
||||
|
||||
# vpn
|
||||
"iodine.age".publicKeys = all;
|
||||
|
Loading…
x
Reference in New Issue
Block a user