mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Fix grafana smtp
This commit is contained in:
parent
5d9c2c07fe
commit
026f9d83a2
1 changed files with 6 additions and 4 deletions
|
@ -43,14 +43,16 @@ in serverSystemConfiguration {
|
|||
disable_initial_admin_creation = true; # Just in case.
|
||||
};
|
||||
|
||||
settings.smtp = enabled {
|
||||
settings.smtp = {
|
||||
enabled = true;
|
||||
|
||||
password = "$__file{${config.age.secrets."cube/password.mail.grafana".path}}";
|
||||
startTLS_policy = "MandatoryStartTLS";
|
||||
|
||||
ehlo_identity = "metrics@${domain}";
|
||||
from_address = "contact@${domain}";
|
||||
ehlo_identity = "contact@${domain}";
|
||||
from_address = "metrics@${domain}";
|
||||
from_name = "Metrics";
|
||||
host = domain;
|
||||
host = "${config.mailserver.fqdn}:${toString config.services.postfix.relayPort}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue