mastodon: configure noreply email

This commit is contained in:
Leonardo Eugênio 2024-05-11 18:32:05 -03:00
parent e4745d445d
commit 418a142f15
4 changed files with 30 additions and 1 deletions

View file

@ -31,6 +31,9 @@
"noreply@git.lelgenio.com" = {
hashedPassword = "$2b$05$TmR1R7ZwXfec7yrOfeBL7u3ZtyXf0up5dEO6uMWSvb/O7LPEm.j0.";
};
"noreply@social.lelgenio.com" = {
hashedPassword = "$2b$05$DcA9xMdvHqqQMZw2.zybI.vfKsQAJtaQ/JB.t9AHu6psstWq97m2C";
};
};
};

View file

@ -3,9 +3,21 @@
enable = true;
configureNginx = true;
localDomain = "social.lelgenio.com";
smtp.fromAddress = "lelgenio@disroot.org";
smtp = {
authenticate = true;
host = "lelgenio.com";
fromAddress = "noreply@social.lelgenio.com";
user = "noreply@social.lelgenio.com";
passwordFile = config.age.secrets.phantom-mastodon-mailer-password.path;
};
streamingProcesses = 2;
extraConfig.SINGLE_USER_MODE = "true";
mediaAutoRemove.olderThanDays = 10;
};
age.secrets.phantom-mastodon-mailer-password = {
file = ../../secrets/phantom-mastodon-mailer-password.age;
mode = "400";
owner = "mastodon";
};
}