Joerg Maschtaler has this assignment,
| SEND_SUBJECT_PREFIX=${SEND_SUBJECT_PREFIX:-"send file + "}
An unescaped plus sign means "one or more of the preceding." So a match to
" + " needs at least two spaces: at least one to match " +" and one more to
match " ".
Joerg then states the problem:
| * $ ^Subject: $SEND_SUBJECT_PREFIX\/.*
| does not match to the mail although the subject IS 'send file' or 'send file
| filename' .
It would if there were two spaces after the word "file". As Michael Powe
suggested, take out the trailing space (and the quotes, while harmless, are
unnecessary):
SEND_SUBJECT_PREFIX=${SEND_SUBJECT_PREFIX:-send file +}
There still are problems with the condition; it really ought to be more like
this (where the brackets enclose a space and a tab):
* $ ^Subject:[ ]*$SEND_SUBJECT_PREFIX\/[^ ].*
but just dropping the extra space will make it work most of the time.