baserow: enable postfix (totoro)

This commit is contained in:
Luke Granger-Brown 2021-12-21 08:11:38 +00:00
parent 93a070870a
commit 455856d7c0

View file

@ -17,6 +17,8 @@ let
DATABASE_HOST = ""; DATABASE_HOST = "";
DATABASE_PASSWORD = ""; DATABASE_PASSWORD = "";
REDIS_HOST = "localhost"; REDIS_HOST = "localhost";
EMAIL_SMTP = "yesplease";
FROM_EMAIL = "no-reply@baserow.lukegb.com";
}; };
baserow-util = pkgs.stdenv.mkDerivation { baserow-util = pkgs.stdenv.mkDerivation {
name = "baserow-util"; name = "baserow-util";
@ -188,4 +190,21 @@ in
}; };
}; };
}; };
services.postfix = {
enable = true;
domain = "baserow.lukegb.com";
hostname = "baserow.lukegb.com";
extraConfig = ''
milter_protocol = 2
milter_default_action = accept
smtpd_milters = ${config.services.opendkim.socket}
non_smtpd_milters = ${config.services.opendkim.socket}
'';
};
services.opendkim = {
enable = true;
domains = "csl:baserow.lukegb.com";
selector = "totoro";
};
} }