Created
March 31, 2021 03:27
-
-
Save scottwalters/d994d696fba726a6cbf40eeb486a7c07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.*\.afterdinnerconversation\..* | |
.*\.progressamerica\..* | |
.*\.partridge.tech | |
.*\.octaforge\..* | |
.*\coworker\.org | |
.*progressmerica\.us | |
.*rakutenservice-mail\.cc | |
.*mcdlv\.net | |
.*actionkit\.com | |
.*diba\.cat | |
.*mcsv\.net | |
.*johnfetterman\.com | |
.*actionnetwork\.org | |
.*chn\.org | |
.*questdiagnostics\.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter check_dyndns phase connect match rdns regex { '.*\.dyn\..*', '.*\.dsl\..*' } \ | |
disconnect "550 no residential connections spam" | |
table shitlist file:/etc/mail/shitlist | |
filter check_shitlist phase connect match rdns regex <shitlist> disconnect "550 spam sender" | |
filter check_shitlist2 phase mail-from match mail-from regex <shitlist> disconnect "550 spam from" | |
filter check_rdns phase connect match !rdns \ | |
disconnect "550 no rDNS is so 80s" | |
filter check_fcrdns phase connect match !fcrdns \ | |
disconnect "550 no FCrDNS is so 80s" | |
filter senderscore \ | |
proc-exec "filter-senderscore -whitelist /etc/mail/senderscore-pass -blockBelow 10 -junkBelow 70 -sl | |
owFactor 5000" | |
# table aliases file:/etc/mail/aliases | |
listen on all filter { check_shitlist, check_shitlist2, check_dyndns, check_rdns, check_fcrdns, sendersc | |
ore } | |
# action "local_mail" maildir junk alias <aliases> | |
action "local_mail" mbox | |
match from any for domain "slowass.net" action "local_mail" | |
match from any for domain "illogics.org" action "local_mail" | |
proc-exec "filter-senderscore -whitelist /etc/mail/senderscore-pass -blockBelow 10 -junkBelow 70 -sl | |
owFactor 5000" | |
# table aliases file:/etc/mail/aliases | |
listen on all filter { check_shitlist, check_shitlist2, check_dyndns, check_rdns, check_fcrdns, sendersc | |
ore } | |
# action "local_mail" maildir junk alias <aliases> | |
action "local_mail" mbox | |
match from any for domain "slowass.net" action "local_mail" | |
match from any for domain "illogics.org" action "local_mail" | |
match for local action "local_mail" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment