Toen wij jondola(_at_)mtaonline(_dot_)net kietelden, kwam er dit uit:
Here's the recipe as I've got it now:
WHITELIST=$HOME/.mutt.aliases
WHITE=$HOME/IN-friends
:0
^From:.*\/[A-Za-z0-9_(_dot_)+-]+(_at_)[A-Za-z0-9_(_dot_)+-]+
* ? grep -iw "$MATCH" $WHITELIST
$WHITE
5 things:
The first condition line is wrong.
No need for A-Z.
I have never seen a + in host-names.
Locking is missing.
WHITELIST = "$HOME/.mutt.aliases"
WHITE = "$HOME/IN-friends"
:0:
* ^From:.*\/[a-z0-9_(_dot_)+-]+(_at_)[a-z0-9_(_dot_)-]+
* ? grep -iw "$MATCH" $WHITELIST
$WHITE
Number 5:
I seldom use grep, but I think that the -w is strange.
Shouldn't that be an -F?
Suppose bart(_at_)example(_dot_)com is in your whitelist, and the
mail is from other(_dot_)bart(_at_)example(_dot_)com
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail