summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-12-19 14:28:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-12-19 14:28:20 +0100
commit1a6d5a637584ceede4cea9550828609dd0e4fc86 (patch)
tree9ec3bfaa311c970760684a47887f3d8c85c82827
parentba4f3d8b1e70d06857860e8289cd97594ae7a39d (diff)
downloadnixos-1a6d5a637584ceede4cea9550828609dd0e4fc86.tar
nixos-1a6d5a637584ceede4cea9550828609dd0e4fc86.tar.gz
nixos-1a6d5a637584ceede4cea9550828609dd0e4fc86.tar.bz2
nixos-1a6d5a637584ceede4cea9550828609dd0e4fc86.tar.xz
nixos-1a6d5a637584ceede4cea9550828609dd0e4fc86.zip
rspamd?
-rw-r--r--ymir.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index aeb27b72..b91aebcd 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -226,12 +226,18 @@ in rec {
226 users.groups."ssl" = { 226 users.groups."ssl" = {
227 members = [ "ejabberd" 227 members = [ "ejabberd"
228 "nginx" 228 "nginx"
229 "postfix" 229 config.services.postfix.user
230 "murmur" 230 "murmur"
231 "infinoted" 231 "infinoted"
232 ]; 232 ];
233 }; 233 };
234 234
235 user.groups."rspamd" = {
236 members = [ config.services.rspamd.user
237 config.services.postfix.user
238 ];
239 };
240
235 services.journald = { 241 services.journald = {
236 rateLimitBurst = 0; 242 rateLimitBurst = 0;
237 extraConfig = '' 243 extraConfig = ''
@@ -1036,7 +1042,7 @@ in rec {
1036 { mode = "0660"; 1042 { mode = "0660";
1037 socket = "/run/rspamd/rspamd-milter.sock"; 1043 socket = "/run/rspamd/rspamd-milter.sock";
1038 owner = config.services.rspamd.user; 1044 owner = config.services.rspamd.user;
1039 group = config.services.postfix.group; 1045 group = config.services.rspamd.group;
1040 } 1046 }
1041 ]; 1047 ];
1042 extraConfig = '' 1048 extraConfig = ''