nixpkgs/nixos/modules/services/mail
Brian Olsen 3a4459a305
nixos/rspamd: Support multiple workers
When the workers option for rspamd was originally implemented it was
based on a flawed understanding of how workers are configured in rspamd.
This meant that while rspamd supports configuring multiple workers of
the same type, so that different controller workers could have different
passwords, the NixOS module did not support this because it would write
an invalid configuration file if you tried.

Specifically a configuration like the one below:

```
workers.controller = {};
workers.controller2 = {
  type = "controller";
};
```

Would result in a rspamd configuration of:

```
worker {
  type = "controller";
  count = 1;
  .include "$CONFDIR/worker-controller.inc"
}
worker "controller2" {
  type = "controller";
  count = 1;
}
```

While to get multiple controller workers it should instead be:

```
worker "controller" {
  type = "controller";
  count = 1;
  .include "$CONFDIR/worker-controller.inc"
}
worker "controller" {
  type = "controller";
  count = 1;
}
```
2018-11-06 00:26:55 +01:00
..
clamsmtp.nix clamsmtp module: add self as maintainer 2018-10-31 01:05:49 +09:00
dkimproxy-out.nix dkimproxy-out module: add self as maintainer 2018-10-31 01:06:04 +09:00
dovecot.nix dovecot: dovenull user should have its own group. 2018-10-22 15:01:47 -04:00
dspam.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
exim.nix exim: parametrise package 2018-09-16 15:19:29 +02:00
freepops.nix treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02:00
mail.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mailhog.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
mlmmj.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
nullmailer.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
offlineimap.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
opendkim.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
opensmtpd.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
pfix-srsd.nix nixos/pfix-srsd: add module 2017-09-21 21:44:55 -04:00
postfix.nix postfix: add setgid wrapper for postqueue/postdrop 2018-10-15 13:14:41 +01:00
postgrey.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
postsrsd.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
rmilter.nix nixos/rmilter: don't enable by default, if rspamd enabled 2018-10-12 17:39:06 +03:00
rspamd.nix nixos/rspamd: Support multiple workers 2018-11-06 00:26:55 +01:00
spamassassin.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00