[Rspamd] Consistent LOCAL_CONFDIR
This commit is contained in:
parent
e01c24aa05
commit
115c6540e2
@ -27,7 +27,7 @@ WHITELISTED_FWD_HOST {
|
|||||||
|
|
||||||
BULK_HEADER {
|
BULK_HEADER {
|
||||||
type = "content";
|
type = "content";
|
||||||
map = "$LOCAL_CONFDIR/custom/bulk_header.map";
|
map = "${LOCAL_CONFDIR}/custom/bulk_header.map";
|
||||||
filter = "headers"
|
filter = "headers"
|
||||||
regexp = true;
|
regexp = true;
|
||||||
symbols_set = ["BULK_HEADER"];
|
symbols_set = ["BULK_HEADER"];
|
||||||
@ -36,7 +36,7 @@ BULK_HEADER {
|
|||||||
LOCAL_BL_ASN {
|
LOCAL_BL_ASN {
|
||||||
require_symbols = "!MAILCOW_WHITE";
|
require_symbols = "!MAILCOW_WHITE";
|
||||||
type = "asn";
|
type = "asn";
|
||||||
map = "$LOCAL_CONFDIR/custom/bad_asn.map";
|
map = "${LOCAL_CONFDIR}/custom/bad_asn.map";
|
||||||
score = 5;
|
score = 5;
|
||||||
description = "Sender's ASN is on the local blacklist";
|
description = "Sender's ASN is on the local blacklist";
|
||||||
symbols_set = ["LOCAL_BL_ASN"];
|
symbols_set = ["LOCAL_BL_ASN"];
|
||||||
@ -44,7 +44,7 @@ LOCAL_BL_ASN {
|
|||||||
|
|
||||||
GLOBAL_SMTP_FROM_WL {
|
GLOBAL_SMTP_FROM_WL {
|
||||||
type = "from";
|
type = "from";
|
||||||
map = "$LOCAL_CONFDIR/custom/global_smtp_from_whitelist.map";
|
map = "${LOCAL_CONFDIR}/custom/global_smtp_from_whitelist.map";
|
||||||
regexp = true;
|
regexp = true;
|
||||||
prefilter = true;
|
prefilter = true;
|
||||||
action = "accept";
|
action = "accept";
|
||||||
@ -52,7 +52,7 @@ GLOBAL_SMTP_FROM_WL {
|
|||||||
|
|
||||||
GLOBAL_SMTP_FROM_BL {
|
GLOBAL_SMTP_FROM_BL {
|
||||||
type = "from";
|
type = "from";
|
||||||
map = "$LOCAL_CONFDIR/custom/global_smtp_from_blacklist.map";
|
map = "${LOCAL_CONFDIR}/custom/global_smtp_from_blacklist.map";
|
||||||
regexp = true;
|
regexp = true;
|
||||||
prefilter = true;
|
prefilter = true;
|
||||||
action = "reject";
|
action = "reject";
|
||||||
@ -61,7 +61,7 @@ GLOBAL_SMTP_FROM_BL {
|
|||||||
GLOBAL_MIME_FROM_WL {
|
GLOBAL_MIME_FROM_WL {
|
||||||
type = "header";
|
type = "header";
|
||||||
header = "from";
|
header = "from";
|
||||||
map = "$LOCAL_CONFDIR/custom/global_mime_from_whitelist.map";
|
map = "${LOCAL_CONFDIR}/custom/global_mime_from_whitelist.map";
|
||||||
regexp = true;
|
regexp = true;
|
||||||
prefilter = true;
|
prefilter = true;
|
||||||
action = "accept";
|
action = "accept";
|
||||||
@ -70,7 +70,7 @@ GLOBAL_MIME_FROM_WL {
|
|||||||
GLOBAL_MIME_FROM_BL {
|
GLOBAL_MIME_FROM_BL {
|
||||||
type = "header";
|
type = "header";
|
||||||
header = "from";
|
header = "from";
|
||||||
map = "$LOCAL_CONFDIR/custom/global_mime_from_blacklist.map";
|
map = "${LOCAL_CONFDIR}/custom/global_mime_from_blacklist.map";
|
||||||
regexp = true;
|
regexp = true;
|
||||||
prefilter = true;
|
prefilter = true;
|
||||||
action = "reject";
|
action = "reject";
|
||||||
@ -78,7 +78,7 @@ GLOBAL_MIME_FROM_BL {
|
|||||||
|
|
||||||
GLOBAL_RCPT_WL {
|
GLOBAL_RCPT_WL {
|
||||||
type = "rcpt";
|
type = "rcpt";
|
||||||
map = "$LOCAL_CONFDIR/custom/global_rcpt_whitelist.map";
|
map = "${LOCAL_CONFDIR}/custom/global_rcpt_whitelist.map";
|
||||||
regexp = true;
|
regexp = true;
|
||||||
prefilter = true;
|
prefilter = true;
|
||||||
action = "accept";
|
action = "accept";
|
||||||
@ -86,7 +86,7 @@ GLOBAL_RCPT_WL {
|
|||||||
|
|
||||||
GLOBAL_RCPT_BL {
|
GLOBAL_RCPT_BL {
|
||||||
type = "rcpt";
|
type = "rcpt";
|
||||||
map = "$LOCAL_CONFDIR/custom/global_rcpt_blacklist.map";
|
map = "${LOCAL_CONFDIR}/custom/global_rcpt_blacklist.map";
|
||||||
regexp = true;
|
regexp = true;
|
||||||
prefilter = true;
|
prefilter = true;
|
||||||
action = "reject";
|
action = "reject";
|
||||||
@ -94,14 +94,14 @@ GLOBAL_RCPT_BL {
|
|||||||
|
|
||||||
SIEVE_HOST {
|
SIEVE_HOST {
|
||||||
type = "ip";
|
type = "ip";
|
||||||
map = "$LOCAL_CONFDIR/custom/dovecot_trusted.map";
|
map = "${LOCAL_CONFDIR}/custom/dovecot_trusted.map";
|
||||||
symbols_set = ["SIEVE_HOST"];
|
symbols_set = ["SIEVE_HOST"];
|
||||||
score = -15;
|
score = -15;
|
||||||
}
|
}
|
||||||
|
|
||||||
RSPAMD_HOST {
|
RSPAMD_HOST {
|
||||||
type = "ip";
|
type = "ip";
|
||||||
map = "$LOCAL_CONFDIR/custom/rspamd_trusted.map";
|
map = "${LOCAL_CONFDIR}/custom/rspamd_trusted.map";
|
||||||
symbols_set = ["RSPAMD_HOST"];
|
symbols_set = ["RSPAMD_HOST"];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ MAILCOW_DOMAIN_HEADER_FROM {
|
|||||||
|
|
||||||
IP_WHITELIST {
|
IP_WHITELIST {
|
||||||
type = "ip";
|
type = "ip";
|
||||||
map = "$LOCAL_CONFDIR/custom/ip_wl.map";
|
map = "${LOCAL_CONFDIR}/custom/ip_wl.map";
|
||||||
symbols_set = ["IP_WHITELIST"];
|
symbols_set = ["IP_WHITELIST"];
|
||||||
score = -100;
|
score = -100;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user