Using the WhitelistSubject/WelcomeListSubject Plugin
The simplest way to treat a specific subject as spam is to use the WhitelistSubject/WelcomeListSubject plugin as it also supports blacklisting.
- Navigate to Warden -> Settings -> Plugins Settings -> WhitelistSubject/WelcomeListSubject.
- Enter the subject line under Blacklist/Blocklist subject.
- Click the Update button to save your settings.
- Now any subject lines matching your entry will get a 100+ score applied to them.
By Using a Custom Rule
If need more advanced rule you can add a custom rule to match the subject line.
- Navigate to Warden -> Rules -> Click on Add to add a custom rule.
- Select the Template select list and select the Header - Subject - Matches - Word template. More information about rules can be found here.
- Enter the name of the rule you want to add name field ( names must be less than 22 chars) and the new score you want to use in the score field (use 100 if you want it to be treated as spam).
- Click the Update button to save your settings.