mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-05-12 05:30:51 +05:00
Merge branch 'quota-status-uds' into 'master'
dovecot: migrate queue-status to UNIX domain socket See merge request simple-nixos-mailserver/nixos-mailserver!392
This commit is contained in:
commit
a7d2b05a99
@ -307,6 +307,12 @@ in
|
|||||||
}
|
}
|
||||||
|
|
||||||
service quota-status {
|
service quota-status {
|
||||||
|
inet_listener {
|
||||||
|
port = 0
|
||||||
|
}
|
||||||
|
unix_listener quota-status {
|
||||||
|
user = postfix
|
||||||
|
}
|
||||||
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
|
vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ in
|
|||||||
"check_recipient_access ${mappedFile "denied_recipients"}"
|
"check_recipient_access ${mappedFile "denied_recipients"}"
|
||||||
"check_recipient_access ${mappedFile "reject_recipients"}"
|
"check_recipient_access ${mappedFile "reject_recipients"}"
|
||||||
# quota checking
|
# quota checking
|
||||||
"check_policy_service inet:localhost:12340"
|
"check_policy_service unix:/run/dovecot2/quota-status"
|
||||||
];
|
];
|
||||||
|
|
||||||
# TLS settings, inspired by https://github.com/jeaye/nix-files
|
# TLS settings, inspired by https://github.com/jeaye/nix-files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user