X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..f63379a35eefef6a7429467e6d3a282428e7f5f6:/bin/kill-from diff --git a/bin/kill-from b/bin/kill-from index 3444185..c0aff73 100755 --- a/bin/kill-from +++ b/bin/kill-from @@ -19,8 +19,8 @@ case "$ME" in esac CHECKPREFIX='From: someone <' CHECKPOSTFIX='>' - REPREFIX='^From:.*' - REPOSTFIX='' + REPREFIX='^From:.*\<' + REPOSTFIX='\>' ARG="$1" ;; kill-thread) @@ -35,10 +35,10 @@ case "$ME" in exit 2 ;; esac - CHECKPREFIX='References: ' + CHECKPREFIX='References: <' CHECKPOSTFIX='>' - REPREFIX='^References:.*' - REPOSTFIX='' + REPREFIX='^References:.*\<' + REPOSTFIX='\>' ARG="${1#<}"; ARG="${ARG%>}" ;; esac