Mailfetch::Rule::Subject - Regex matching on the subject header
perl -MMailfetch::Rule::Subject=test,mailfile,re,SPAM -e1
You should inherit from this module to create more specific rules.
Mailfetch::Rule::Header, Mailfetch
Mailfetch::Rule::Subject::Adv - Weed out the stupid
perl -MMailfetch::Rule::Subject::Adv=test,mailfile -e1
Returns true if the mail subject matches /\badv\s*:\b/i
Mailfetch::Rule::Subject::Spam - Weed out the stupid
perl -MMailfetch::Rule::Subject::Spam=test,mailfile -e1
Returns true if the mail subject matches /\*+\s*spam\s*\*+/i