2017-05-08 21:39:33 +08:00
|
|
|
RCPT_MAILCOW_DOMAIN {
|
|
|
|
type = "rcpt";
|
2017-10-05 05:16:39 +08:00
|
|
|
filter = "email:domain";
|
|
|
|
map = "redis://DOMAIN_MAP";
|
2018-05-26 00:58:37 +08:00
|
|
|
symbols_set = ["RCPT_MAILCOW_DOMAIN"];
|
2017-05-08 21:39:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
RCPT_WANTS_SUBJECT_TAG {
|
|
|
|
type = "rcpt";
|
2018-01-16 23:31:37 +08:00
|
|
|
filter = "email:addr";
|
2017-10-05 05:16:39 +08:00
|
|
|
map = "redis://RCPT_WANTS_SUBJECT_TAG";
|
2018-05-26 00:58:37 +08:00
|
|
|
symbols_set = ["RCPT_WANTS_SUBJECT_TAG"];
|
2017-05-08 21:39:33 +08:00
|
|
|
}
|
2017-05-09 05:09:21 +08:00
|
|
|
|
2018-01-16 23:31:37 +08:00
|
|
|
RCPT_WANTS_SUBFOLDER_TAG {
|
|
|
|
type = "rcpt";
|
|
|
|
filter = "email:addr";
|
|
|
|
map = "redis://RCPT_WANTS_SUBFOLDER_TAG";
|
2018-05-26 00:58:37 +08:00
|
|
|
symbols_set = ["RCPT_WANTS_SUBFOLDER_TAG"];
|
2018-01-16 23:31:37 +08:00
|
|
|
}
|
|
|
|
|
2017-05-09 05:09:21 +08:00
|
|
|
WHITELISTED_FWD_HOST {
|
|
|
|
type = "ip";
|
2017-10-05 05:16:39 +08:00
|
|
|
map = "redis://WHITELISTED_FWD_HOST";
|
2018-05-26 00:58:37 +08:00
|
|
|
symbols_set = ["WHITELISTED_FWD_HOST"];
|
2017-05-09 05:09:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
KEEP_SPAM {
|
|
|
|
type = "ip";
|
2017-10-05 05:16:39 +08:00
|
|
|
map = "redis://KEEP_SPAM";
|
2017-05-09 05:09:21 +08:00
|
|
|
action = "accept";
|
2018-05-26 00:58:37 +08:00
|
|
|
symbols_set = ["KEEP_SPAM"];
|
2017-05-09 05:09:21 +08:00
|
|
|
}
|
2017-10-05 05:16:39 +08:00
|
|
|
|
2018-04-26 19:51:55 +08:00
|
|
|
LOCAL_BL_ASN {
|
|
|
|
require_symbols = "!MAILCOW_WHITE";
|
|
|
|
type = "asn";
|
|
|
|
map = "$LOCAL_CONFDIR/custom/bad_asn.map";
|
|
|
|
score = 5;
|
|
|
|
description = "Sender's ASN is on the local blacklist";
|
2018-05-26 00:58:37 +08:00
|
|
|
symbols_set = ["LOCAL_BL_ASN"];
|
2018-04-26 19:51:55 +08:00
|
|
|
}
|
|
|
|
|
2017-10-26 16:29:13 +08:00
|
|
|
#SPOOFED_SENDER {
|
|
|
|
# type = "rcpt";
|
|
|
|
# filter = "email:domain:tld";
|
|
|
|
# map = "redis://DOMAIN_MAP";
|
|
|
|
# require_symbols = "AUTH_NA | !RCVD_VIA_SMTP_AUTH";
|
2018-05-26 00:58:37 +08:00
|
|
|
# symbols_set = ["SPOOFED_SENDER"];
|
2017-10-26 16:29:13 +08:00
|
|
|
#}
|