On this page you can create the dictionaries for use in the Yara rules.
For example, you need to assign additional scores to the domains from the big list.
So create the dictionary called BadDomains.dict with the domain list (line by line):
For dictionaries, we recommend using names without spaces, special characters and ending with ".dict"
And then you will be able to use this dictionary in the Yara rules
In this example, any message from the email contained the domain from the BadDomains.dict will get 5 spam scores.