123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- RCPT_MAILCOW_DOMAIN {
- type = "rcpt";
- filter = "email:domain";
- map = "redis://DOMAIN_MAP";
- symbols_set = ["RCPT_MAILCOW_DOMAIN"];
- }
- RCPT_WANTS_SUBJECT_TAG {
- type = "rcpt";
- filter = "email:addr";
- map = "redis://RCPT_WANTS_SUBJECT_TAG";
- symbols_set = ["RCPT_WANTS_SUBJECT_TAG"];
- }
- RCPT_WANTS_SUBFOLDER_TAG {
- type = "rcpt";
- filter = "email:addr";
- map = "redis://RCPT_WANTS_SUBFOLDER_TAG";
- symbols_set = ["RCPT_WANTS_SUBFOLDER_TAG"];
- }
- WHITELISTED_FWD_HOST {
- type = "ip";
- map = "redis://WHITELISTED_FWD_HOST";
- symbols_set = ["WHITELISTED_FWD_HOST"];
- }
- BULK_HEADER {
- type = "content";
- map = "$LOCAL_CONFDIR/custom/bulk_header.map";
- filter = "headers"
- regexp = true;
- symbols_set = ["BULK_HEADER"];
- }
- 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";
- symbols_set = ["LOCAL_BL_ASN"];
- }
- GLOBAL_SMTP_FROM_WL {
- type = "from";
- map = "$LOCAL_CONFDIR/custom/global_smtp_from_whitelist.map";
- regexp = true;
- prefilter = true;
- action = "accept";
- }
- GLOBAL_SMTP_FROM_BL {
- type = "from";
- map = "$LOCAL_CONFDIR/custom/global_smtp_from_blacklist.map";
- regexp = true;
- prefilter = true;
- action = "reject";
- }
- GLOBAL_MIME_FROM_WL {
- type = "header";
- header = "from";
- map = "$LOCAL_CONFDIR/custom/global_mime_from_whitelist.map";
- regexp = true;
- prefilter = true;
- action = "accept";
- }
- GLOBAL_MIME_FROM_BL {
- type = "header";
- header = "from";
- map = "$LOCAL_CONFDIR/custom/global_mime_from_blacklist.map";
- regexp = true;
- prefilter = true;
- action = "reject";
- }
- GLOBAL_RCPT_WL {
- type = "rcpt";
- map = "$LOCAL_CONFDIR/custom/global_rcpt_whitelist.map";
- regexp = true;
- prefilter = true;
- action = "accept";
- }
- GLOBAL_RCPT_BL {
- type = "rcpt";
- map = "$LOCAL_CONFDIR/custom/global_rcpt_blacklist.map";
- regexp = true;
- prefilter = true;
- action = "reject";
- }
- SIEVE_HOST {
- type = "ip";
- map = "$LOCAL_CONFDIR/custom/dovecot_trusted.map";
- symbols_set = ["SIEVE_HOST"];
- score = -15;
- }
- RSPAMD_HOST {
- type = "ip";
- map = "$LOCAL_CONFDIR/custom/rspamd_trusted.map";
- symbols_set = ["RSPAMD_HOST"];
- }
- MAILCOW_DOMAIN_HEADER_FROM {
- type = "header";
- header = "from";
- filter = "email:domain";
- map = "redis://DOMAIN_MAP";
- }
- IP_WHITELIST {
- type = "ip";
- map = "$LOCAL_CONFDIR/custom/ip_wl.map";
- prefilter = "true";
- action = "accept";
- }
- FISHY_TLD {
- type = "from";
- filter = "email:domain";
- map = "${LOCAL_CONFDIR}/custom/fishy_tlds.map";
- regexp = true;
- score = 0.1;
- }
- BAD_WORDS {
- type = "content";
- filter = "text";
- map = "${LOCAL_CONFDIR}/custom/bad_words.map";
- regexp = true;
- score = 0.1;
- }
- BAD_WORDS_DE {
- type = "content";
- filter = "text";
- map = "${LOCAL_CONFDIR}/custom/bad_words_de.map";
- regexp = true;
- score = 0.1;
- }
- BAD_LANG {
- type = 'selector';
- selector = 'languages';
- map = "${LOCAL_CONFDIR}/custom/bad_languages.map";
- symbols_set = ["LANG_FILTER"];
- regexp = true;
- score = 5.0;
- }
- BAZAR_ABUSE_CH {
- type = "selector";
- selector = "attachments(hex,md5)";
- map = "https://bazaar.abuse.ch/export/txt/md5/recent/";
- score = 10.0;
- }
|