From f3c643f8d46f268e88dc3428d00b5f38d0dc2e5b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 25 Sep 2007 16:06:09 +0200 Subject: [PATCH 1/1] only match name at word boundaries in justme --- procmail/justme | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/procmail/justme b/procmail/justme index ac3dbd6..253c52d 100644 --- a/procmail/justme +++ b/procmail/justme @@ -23,24 +23,24 @@ JUSTME="explicitly excepted address" LOG="justme: passing; $JUSTME$NL" } - + :0 E - *$ 1^0 B ?? $RE_FIRSTNAME$RE_SPACE_NEWLINE+$RE_LASTNAME - *$ 1^0 B ?? $RE_LASTNAME[,]?$RE_SPACE_NEWLINE*$RE_FIRSTNAME + *$ 1^0 B ?? .*\<$RE_FIRSTNAME$RE_SPACE_NEWLINE+$RE_LASTNAME\> + *$ 1^0 B ?? .*\<$RE_LASTNAME[,]?$RE_SPACE_NEWLINE*$RE_FIRSTNAME\> { JUSTME="full name reference" LOG="justme: passing; $JUSTME$NL" } :0 E - *$ B ?? $RE_LASTNAME + *$ B ?? .*\<$RE_LASTNAME\> { JUSTME="last name reference" LOG="justme: passing; $JUSTME$NL" } :0 E - * 1^0 B ?? madduck + * 1^0 B ?? .*\ * -1^0 B ?? mass\.madduck\.net { JUSTME="nickname reference" -- 2.39.5