[Rspamd] Add custom IP whitelist template

master
andryyy 2019-07-22 13:38:47 +02:00
parent 9aad9d8e4e
commit 71df10892c
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# IP whitelist
# 127.0.0.1
# 1.2.3.4
# ...

View File

@ -96,3 +96,7 @@ MAILCOW_DOMAIN_HEADER_FROM {
filter = "email:domain"; filter = "email:domain";
map = "redis://DOMAIN_MAP"; map = "redis://DOMAIN_MAP";
} }
IP_WHITELIST {
type = "ip";
map = "$LOCAL_CONFDIR/custom/ip_wl.map";
}