mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Update rspam config
This commit is contained in:
parent
50a033801f
commit
43bd129432
1 changed files with 8 additions and 0 deletions
|
|
@ -498,6 +498,14 @@
|
||||||
certificateScheme = "acme-nginx";
|
certificateScheme = "acme-nginx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.rspamd.extraConfig = ''
|
||||||
|
actions {
|
||||||
|
reject = null; # Disable rejects, default is 15
|
||||||
|
add_header = 6; # Add header when reaching this score
|
||||||
|
greylist = null; # Disable greylist
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
trusted-users = [ "nix-ssh" ];
|
trusted-users = [ "nix-ssh" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue