[Dovecot] Unsupported examples for IMAP auth via LDAP
[Rspamd] Globel whitelist/blacklist from via multimap
This commit is contained in:
1
data/conf/rspamd/custom/global_from_blacklist.map
Normal file
1
data/conf/rspamd/custom/global_from_blacklist.map
Normal file
@@ -0,0 +1 @@
|
||||
# /.*@example.com/i'
|
1
data/conf/rspamd/custom/global_from_whitelist.map
Normal file
1
data/conf/rspamd/custom/global_from_whitelist.map
Normal file
@@ -0,0 +1 @@
|
||||
# /.*@example.com/i'
|
@@ -33,3 +33,19 @@ LOCAL_BL_ASN {
|
||||
description = "Sender's ASN is on the local blacklist";
|
||||
symbols_set = ["LOCAL_BL_ASN"];
|
||||
}
|
||||
|
||||
GLOBAL_FROM_WL {
|
||||
type = "from";
|
||||
map = "$LOCAL_CONFDIR/custom/global_from_whitelist.map";
|
||||
regexp = true;
|
||||
prefilter = true;
|
||||
action = "accept";
|
||||
}
|
||||
|
||||
GLOBAL_FROM_BL {
|
||||
type = "from";
|
||||
map = "$LOCAL_CONFDIR/custom/global_from_blacklist.map";
|
||||
regexp = true;
|
||||
prefilter = true;
|
||||
action = "reject";
|
||||
}
|
||||
|
Reference in New Issue
Block a user