From: SoloCDM <deedsmis(_at_)ris(_dot_)net>
What's wrong with this recipe?
:0: admin.lock
* (^FROM_MAILER|^From(.*|*|:.*)[^0-9A-Za-z](abuse@|spam@))
| $FORMAIL -A"X-Sorted: Admin" >> "$ADMINFOLDER"
I don't know. Try rebuilding it piece-by-piece and testing it.
The part where you say
^From(.*|*|:.*)
is meaningless and redundant, imho.
I see this as allowing any of
^From.*
^From*
^From:.*
The first supercedes the third; and the second is not
likely to happen ("^Fro "; "^From"; "^Fromm"; "^Frommm"; etc.)
There's no reason to try to get fancy with alternative
expressions if one of them (.*) will override all the others.
The part where you say
[^0-9A-Za-z]
means one character that is not alphabetical or digital.
It could still be any of "- . + =" etc., etc. I don't
know what you are trying to say, but suspect you mean
{whatever}[ ]*(abuse|spam)@
...........^....^
tab space
The part where you say
(abuse@|spam@)
could be
(abuse|spam)@
'm sure there's more.
--
\ .-. .-. .-. .-. .-. .-. .-. /
\-d-/-m-\-a-/-n-\-(_at_)-/-n-\-e-/-t-\-c-/-o-\-m-/-.-\-c-/-o-\-m-/
'-' '-' '-' '-' '-' '-' '-' '-'