test
This commit is contained in:
20
module.nix
20
module.nix
@@ -95,17 +95,19 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postfix.config = {
|
# services.postfix.config = {
|
||||||
smtp_sasl_auth_enable = "yes";
|
# smtp_sasl_auth_enable = "yes";
|
||||||
smtp_sasl_security_options = "";
|
# smtp_sasl_security_options = "";
|
||||||
smtp_sasl_password_maps = "texthash:/run/postfix/mastodon.cf";
|
# smtp_sasl_password_maps = "texthash:/run/postfix/mastodon.cf";
|
||||||
virtual_mailbox_maps = [ "hash:/run/postfix/mastodon.cf" ];
|
# virtual_mailbox_maps = [ "hash:/run/postfix/mastodon.cf" ];
|
||||||
};
|
# };
|
||||||
# mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = {
|
# mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = {
|
||||||
# mailserver.loginAccounts."mastodon@${sp.domain}" = {
|
# mailserver.loginAccounts."mastodon@${sp.domain}" = {
|
||||||
# hashedPasswordFile = "/run/postfix/mastodon.cf";
|
sp.email."noreply@${cfg.subdomain}.${sp.domain}" = {
|
||||||
# sendOnly = true;
|
hashedPasswordFile = "/run/postfix/mastodon.cf";
|
||||||
# };
|
systemTargets = [ "mastodon-email-password-setup.service" ];
|
||||||
|
sendOnly = true;
|
||||||
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
services.mastodon-email-password-setup = {
|
services.mastodon-email-password-setup = {
|
||||||
|
Reference in New Issue
Block a user