Open yorickvP opened 8 years ago
Hmm I didn't upgrade to 16.09 yet but I saw this bug before, if I remember, it's a bug in OpenSMTPD that adds filter arguments to all filters instead of just one (like here https://github.com/valeriangalliat/nixos-mailz/blob/d863391fc38feb12ed700264309c503afd7b116d/default.nix#L178) and result in unknown arguments for other filters, I'm not sure how I fixed this though.
Or maybe that was when I stopped using unstable channel thinking this bug would not make it to stable. :(
You can try forcing OpenSMTPD in 5.7.3p2, that's the one I'm using for now.
Or might be worth trying with OpenSMTPD 6.0.0 that was just released, if you do tell me if either the downgrade or the 6.0.0 version worked. :smile:
I switched it out for postfix+rmilter+rspamd. My config's not perfect yet (no actual spam checking and no dkim because of some FS permission quirks) but I'll share it sometime this week.
https://github.com/yorickvP/yori-nix/blob/master/modules/mailz.nix I fixed dkim, I think, still not sure how to do spam checking. Maybe it'll be useful for you.
Upgraded to NixOS 16.09, got the same filter arguments bug with OpenSMTPd 6.0.0p1.
As a temporary solution I just disabled all filters, but I'll try to look at OpenSMTPd source code to find out about this bug with filter options...