[pi4] Added initial Simple mailserver config

This commit is contained in:
2025-06-02 17:44:41 +00:00
parent be02be6bf2
commit b74e5aab62
7 changed files with 229 additions and 25 deletions

View File

@ -34,9 +34,10 @@ in
# Sending emails is completely optional
# You can send a test email from the web UI at:
# Profile Picture > Site Administration > Configuration > Mailer Configuration
mailer = {
mailer = lib.mkIf config.mailserver.enable {
ENABLED = true;
SMTP_ADDR = "mail.${common.domain}";
PROTOCOL = "smtps";
SMTP_ADDR = config.mailserver.fqdn;
FROM = "noreply-forgejo@${common.domain}";
USER = "noreply@${common.domain}";
};