feat: Refactor rspamd settings in x86_64-linux systems
This commit simplifies the configuration of rspamd settings in x86_64-linux systems. It primarily involves restructuring of settings for 'settings.conf', 'spf_whitelist', 'spf_dkim_whitelist', 'dmarc_whitelist', and 'greylist-whitelist-domains'.
This commit is contained in:
parent
8bbed5e255
commit
7b06c9446c
|
@ -5,8 +5,7 @@
|
|||
mode = "0660";
|
||||
}];
|
||||
services.rspamd.locals = {
|
||||
"settings.conf" = {
|
||||
text = ''
|
||||
"settings.conf".text = ''
|
||||
bogenschiessen {
|
||||
from = "bogensport-jugend@gmx.de";
|
||||
apply {
|
||||
|
@ -18,36 +17,28 @@
|
|||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
"maps.d/spf_whitelist.inc.local" = {
|
||||
text = ''
|
||||
"maps.d/spf_whitelist.inc.local".text = ''
|
||||
epicgames.com
|
||||
dmail.ai
|
||||
twitter.com
|
||||
x.com
|
||||
gmx.de
|
||||
'';
|
||||
};
|
||||
"maps.d/spf_dkim_whitelist.inc.local" = {
|
||||
text = ''
|
||||
"maps.d/spf_dkim_whitelist.inc.local".text = ''
|
||||
epicgames.com
|
||||
dmail.ai
|
||||
twitter.com
|
||||
x.com
|
||||
gmx.de
|
||||
'';
|
||||
};
|
||||
"maps.d/dmarc_whitelist.inc.local" = {
|
||||
text = ''
|
||||
"maps.d/dmarc_whitelist.inc.local".text = ''
|
||||
epicgames.com
|
||||
dmail.ai
|
||||
twitter.com
|
||||
x.com
|
||||
gmx.de
|
||||
'';
|
||||
};
|
||||
"greylist-whitelist-domains.inc" = {
|
||||
text = ''
|
||||
"greylist-whitelist-domains.inc".text = ''
|
||||
dmail.ai
|
||||
epicgames.com
|
||||
twitter.com
|
||||
|
@ -55,7 +46,6 @@
|
|||
gmx.de
|
||||
'';
|
||||
};
|
||||
};
|
||||
services.rspamd.extraConfig = ''
|
||||
actions {
|
||||
reject = null;
|
||||
|
|
Loading…
Reference in a new issue