feat: add the gateway ip to teh rspamd whitelist
All checks were successful
Build_Deploy / linter (push) Successful in 17s
Build_Deploy / build (push) Successful in 1m33s
Build_Deploy / deploy_dns (push) Successful in 1m28s
Build_Deploy / deploy_active (active) (push) Successful in 2m40s
Build_Deploy / deploy_active (active-ext) (push) Successful in 1m43s
Build_Deploy / deploy_active (active-core) (push) Successful in 5m9s

This commit is contained in:
silver 2025-05-15 00:44:17 +01:00
parent 14732ead0f
commit b600af4ff5
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -563,14 +563,23 @@ in {
}; };
# tune the spam filter # tune the spam filter
/* services.rspamd.locals = {
services.rspamd.extraConfig = '' "multimap.conf" = {
actions { text = ''
reject = null; # Disable rejects, default is 15 IP_WHITELIST {
add_header = 7; # Add header when reaching this score type = "ip";
greylist = 4; # Apply greylisting when reaching this score prefilter = true;
} map = "/etc/rspamd/local.d/ip_whitelist.map";
''; action = "accept";
*/ }
'';
};
"ip_whitelist.map" = {
text = ''
193.1.99.86
'';
};
};
}; };
} }