Created
April 8, 2018 07:28
-
-
Save zhiephie/def673bd4a71562ffdbb87d9b5a557a4 to your computer and use it in GitHub Desktop.
SpamAssassin rules tld domain
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
# add points if the From address is not a valid host in a listed TLD | |
header LOCAL_FROM_TLD From !~ /@[a-z0-9\-\.]+\.(com|net|mil|edu|cn|id|co\.id|go\.id|sch\.id|or\.id|ponpes\.id)/i | |
describe LOCAL_FROM_TLD From address is not a valid host in a listed TLD | |
score LOCAL_FROM_TLD 15 |
How to catch .in and not .info?
header LOCAL_FROM_TLD From !~ /@[a-z0-9\-\.]+\.(in(?!fo)|ru|cn| …
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to catch .in and not .info?