X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=gma.sh;h=6b0c51816ee16c090b9577e90693c7667e9a6c43;hp=e266737f0ea54e14e61bcf592bd057c1b912059e;hb=1e890fe2d9174c9885320fc48228a43b8154f87d;hpb=e2f53975cc8e22c351a9b8095f88320cc1c40db2 diff --git a/gma.sh b/gma.sh index e266737..6b0c518 100755 --- a/gma.sh +++ b/gma.sh @@ -20,7 +20,7 @@ set -e function usage () { - echo "gma.sh [--body] [--keepspam] [--subject|--from|--to|--fromto] []" + echo "gma.sh [--body] [--keepspam] [--subject|--from|--to|--fromto|--sender] []" } RESULT_MBOX="/tmp/gma" @@ -71,6 +71,10 @@ while [[ $1 ]]; do RE_PREFIX="^(From|To):.*" ;; + "--sender") + RE_PREFIX="^Sender:.*" + ;; + "--subject") RE_PREFIX="^Subject:.*" ;;