mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-20 16:52:02 +00:00
[Rspamd] Add custom IP whitelist template
This commit is contained in:
parent
9aad9d8e4e
commit
71df10892c
2 changed files with 8 additions and 0 deletions
4
data/conf/rspamd/custom/ip_wl.map
Normal file
4
data/conf/rspamd/custom/ip_wl.map
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# IP whitelist
|
||||
# 127.0.0.1
|
||||
# 1.2.3.4
|
||||
# ...
|
||||
|
|
@ -96,3 +96,7 @@ MAILCOW_DOMAIN_HEADER_FROM {
|
|||
filter = "email:domain";
|
||||
map = "redis://DOMAIN_MAP";
|
||||
}
|
||||
IP_WHITELIST {
|
||||
type = "ip";
|
||||
map = "$LOCAL_CONFDIR/custom/ip_wl.map";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue