mailserver: Enable postscreen
This commit is contained in:
parent
385cf15e02
commit
30485e7d70
|
@ -133,6 +133,26 @@ lib.mkIf cfg.enable {
|
||||||
submissionsOptions = config.services.postfix.submissionOptions;
|
submissionsOptions = config.services.postfix.submissionOptions;
|
||||||
|
|
||||||
masterConfig = {
|
masterConfig = {
|
||||||
|
# Postscreen
|
||||||
|
smtpd = {
|
||||||
|
type = "pass";
|
||||||
|
};
|
||||||
|
smtp_inet = {
|
||||||
|
# Partially overrides upstream
|
||||||
|
name = "smtp";
|
||||||
|
type = "inet";
|
||||||
|
private = false;
|
||||||
|
command = lib.mkForce "postscreen";
|
||||||
|
maxproc = 1;
|
||||||
|
};
|
||||||
|
tlsproxy = {
|
||||||
|
maxproc = 0;
|
||||||
|
};
|
||||||
|
dnsblog = {
|
||||||
|
maxproc = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Heder cleanup
|
||||||
submission-header-cleanup = {
|
submission-header-cleanup = {
|
||||||
private = false;
|
private = false;
|
||||||
maxproc = 0;
|
maxproc = 0;
|
||||||
|
|
Loading…
Reference in a new issue