SpamAssassin Custom Rule Generator – by Kevin Schweitzer
latest Version: 1.1 – 27.05.2015
Download:
Version 1.1: Download
Task:
The PowerShell script generate from EML files a SpamAssassin rule file in CF Format. Two rules will be created per mail.
Rule Header From: header sa_rule_gen_1 From =~ /%sendername%\@%senderdomain%/
Rule Header Subject: header sa_rule_gen_2 Subject =~ /%subject%/
Duplicates are avoided!
Procedure:
1. Save the script to a folder of your choice.
2. Place to be analyzed all EML files which you want to identify as spam in the same directory as the script.
3. Start the script.
4. Import the resulting *_sa_rule_gen.cf in SpamAssassin.
5. Done!
Screenshots:
Contact:
sa_rule_gen@der-schweitzer.de