aports/config/rspamd/modules/force_actions.conf

59 lines
1.7 KiB
Plaintext

force_actions {
rules {
FA_SPAMTRAP {
expression = "SPAMTRAP";
action = "discard";
}
FA_INVALID_DATE {
expression = "INVALID_DATE";
action = "reject";
message = "Mail contains a invalid date";
}
FA_ANY_FUZZY_DENIED {
expression = "RSPAMDCOM_FUZZY_DENIED | LOCAL_FUZZY_DENIED";
action = "reject";
message = "Mail matches fuzzy pattern";
}
FA_DMARC_POLICY_REJECT {
expression = "DMARC_POLICY_REJECT";
action = "reject";
message = "DMARC failed";
}
FA_ARC_REJECT {
expression = "ARC_REJECT";
action = "reject";
message = "ARC failed";
}
FA_RBL_SPAMHAUS_DBL_ANY {
expression = "DBL_SPAM | DBL_PHISH | DBL_MALWARE | DBL_BOTNET | DBL_ABUSE | DBL_ABUSE_PHISH | DBL_ABUSE_MALWARE | DBL_ABUSE_BOTNET";
action = "reject";
message = "Mail sender / contents are listed on SPAMHAUS DBL";
}
FA_RBL_SPAMHAUS_DROP_ANY {
expression = "RBL_SPAMHAUS_DROP | RECEIVED_SPAMHAUS_DROP | URIBL_DROP";
action = "reject";
message = "Mail sender / contents are listed on SPAMHAUS DROP";
}
FA_URIBL_BLACK {
expression = "URIBL_BLACK";
action = "reject";
message = "You are listed on URIBL black";
}
FA_RBL_MAILSPIKE_ANY {
expression = "RBL_MAILSPIKE_BAD | RBL_MAILSPIKE_VERYBAD | RBL_MAILSPIKE_WORST";
action = "reject";
message = "You are listed on Mailspike as bad or worse";
}
FA_RBL_SPAMHAUS_XBL_ANY {
expression = "RBL_SPAMHAUS_XBL | RECEIVED_SPAMHAUS_XBL | URIBL_XBL";
action = "reject";
message = "Mail sender / contents are listed on SPAMHAUS XBL";
}
FA_DMARC_POLICY_QUARANTINE {
expression = "DMARC_POLICY_QUARANTINE";
action = "add header";
honor_action = ["reject", "soft reject"];
}
}
}