mailsystem: Use newly added 'mailnix' package to generate postfix/dovecot files
This commit is contained in:
parent
955a0ec8ba
commit
c1b19d6e33
9 changed files with 52 additions and 85 deletions
|
|
@ -2,7 +2,7 @@
|
|||
lib = pkgs.lib;
|
||||
in rec {
|
||||
waitForRspamd = node: let
|
||||
inherit (import ../../mailsystem/common.nix {inherit (node) config;}) rspamdProxySocket;
|
||||
inherit (import ../../mailsystem/common.nix {inherit (node) config pkgs;}) rspamdProxySocket;
|
||||
in "set +e; timeout 1 ${node.nixpkgs.pkgs.netcat}/bin/nc -U ${rspamdProxySocket} < /dev/null; [ $? -eq 124 ]";
|
||||
|
||||
mkHashedPasswordFile = password:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue