added body option for the rules check

This commit is contained in:
SJ
2015-03-11 12:54:31 +01:00
parent 1e74472480
commit 30a4b8d782
17 changed files with 85 additions and 21 deletions

View File

@@ -105,6 +105,7 @@ struct rule {
regex_t from;
regex_t to;
regex_t subject;
regex_t body;
regex_t attachment_name;
regex_t attachment_type;
#endif
@@ -119,7 +120,7 @@ struct rule {
int days;
char emptyfrom, emptyto, emptysubject, emptyaname, emptyatype;
char emptyfrom, emptyto, emptysubject, emptybody, emptyaname, emptyatype;
char *rulestr;
char compiled;