baserow: enable postfix (totoro)
This commit is contained in:
parent
93a070870a
commit
455856d7c0
1 changed files with 19 additions and 0 deletions
|
@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue