NAME

Mailfetch::Rule::Subject - Regex matching on the subject header

SYNOPSIS

  perl -MMailfetch::Rule::Subject=test,mailfile,re,SPAM -e1

You should inherit from this module to create more specific rules.

SEE ALSO

Mailfetch::Rule::Header, Mailfetch

NAME

Mailfetch::Rule::Subject::Adv - Weed out the stupid

SYNOPSIS

  perl -MMailfetch::Rule::Subject::Adv=test,mailfile -e1

Returns true if the mail subject matches /\badv\s*:\b/i

NAME

Mailfetch::Rule::Subject::Spam - Weed out the stupid

SYNOPSIS

  perl -MMailfetch::Rule::Subject::Spam=test,mailfile -e1

Returns true if the mail subject matches /\*+\s*spam\s*\*+/i