Skip to content

Commit 0d3e298

Browse files
author
Marius Burkard
committed
- fixed missing template file for rspamd
1 parent 065d5ff commit 0d3e298

File tree

2 files changed

+44
-43
lines changed

2 files changed

+44
-43
lines changed

install/tpl/rspamd_users.conf.master

Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../server/conf/rspamd_users.conf.master
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
settings {
2+
authenticated {
3+
priority = 10;
4+
authenticated = yes;
5+
#apply "default" { groups_disabled = ["rbl", "spf"]; }
6+
apply "default" {
7+
#symbols_enabled = [];
8+
symbols_disabled = [];
9+
#groups_enabled = [];
10+
groups_disabled = ["rbl"];
11+
}
12+
}
13+
whitelist {
14+
priority = 10;
15+
rcpt = "postmaster";
16+
rcpt = "hostmaster";
17+
rcpt = "abuse";
18+
want_spam = yes;
19+
}
20+
whitelist-ip {
21+
priority = 10;
22+
<tmpl_loop name="whitelist_ips">
23+
ip = "<tmpl_var name='ip'>";
24+
</tmpl_loop>
25+
26+
want_spam = yes;
27+
}
28+
# whitelist-timmehosting {
29+
# priority = 20;
30+
# from = "@xxx";
31+
# from = "@xxx";
32+
# want_spam = yes;
33+
# }
34+
whitelist-ca {
35+
priority = 20;
36+
from = "@comodo.com";
37+
from = "@geotrust.com";
38+
from = "@geotrusteurope.com";
39+
want_spam = yes;
40+
}
41+
.include(try=true; glob=true) "$LOCAL_CONFDIR/local.d/users/*.conf"
42+
.include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/users.local.conf"
43+
}

0 commit comments

Comments
 (0)