mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 20:10:34 +05:00
tyding up code
This commit is contained in:
parent
28225fb1d6
commit
e5d3786ff5
@ -44,16 +44,18 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = with cfg; lib.mkIf enable {
|
config = with cfg; lib.mkIf enable {
|
||||||
services.rmilter.enable = true;
|
services.rmilter = {
|
||||||
# services.rmilter.debug = true;
|
enable = true;
|
||||||
services.rmilter.postfix.enable = true;
|
#debug = true;
|
||||||
services.rmilter.rspamd.enable = true;
|
postfix.enable = true;
|
||||||
services.rmilter.extraConfig =
|
rspamd.enable = true;
|
||||||
''
|
extraConfig =
|
||||||
${clamav}
|
''
|
||||||
|
${clamav}
|
||||||
|
|
||||||
${dkim}
|
${dkim}
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user