Enable gitea email notifications
This commit is contained in:
parent
154b37879b
commit
1065cc4b59
@ -32,12 +32,19 @@ in
|
|||||||
};
|
};
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
MAILER_TYPE = "sendmail";
|
MAILER_TYPE = "smtp";
|
||||||
FROM = "do-not-reply@neet.dev";
|
SMTP_ADDR = "mail.neet.dev";
|
||||||
SENDMAIL_PATH = "/run/wrappers/bin/sendmail";
|
SMTP_PORT = "465";
|
||||||
SENDMAIL_ARGS = "--";
|
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
|
# backups
|
||||||
|
@ -37,6 +37,14 @@ in
|
|||||||
# catchall for all domains
|
# catchall for all domains
|
||||||
aliases = map (domain: "@${domain}") 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 = [
|
rejectRecipients = [
|
||||||
"george@runyan.org"
|
"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
|
||||||
"email-pw.age".publicKeys = all;
|
"email-pw.age".publicKeys = all;
|
||||||
"sasl_relay_passwd.age".publicKeys = all;
|
"sasl_relay_passwd.age".publicKeys = all;
|
||||||
|
"robots-email-pw.age".publicKeys = all;
|
||||||
|
|
||||||
# vpn
|
# vpn
|
||||||
"iodine.age".publicKeys = all;
|
"iodine.age".publicKeys = all;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user