--- mblaze-1.1/mcom 2021-01-14 15:45:22.000000000 -0000 +++ mblaze-1.1f/mcom 2021-08-22 00:08:04.418851752 -0000 @@ -12,13 +12,13 @@ commajoin() { notmine() { mine="$(maddr -a -h local-mailbox:alternate-mailboxes: "$MBLAZE/profile")" - grep -Fv -e "$mine" + grep -Fvi -e "$mine" } replyfrom() { addrs="$(maddr -a -h reply-from: "$MBLAZE/profile")" [ -z "$addrs" ] && addrs="$(maddr -a -h alternate-mailboxes: "$MBLAZE/profile")" - grep -F -e "$addrs" + grep -Fi -e "$addrs" } ouniq() { @@ -358,8 +370,8 @@ fi [ -z "$to" ] && to=$(mhdr -d -h from "$1") printf 'To: %s\n' "$to" printf 'Cc: %s\n' \ - "$(mhdr -d -A -h to:cc: "$1" | - notmine |grep -Fv -e "$to" | + "$(maddr -a -h to:cc: "$1" | + notmine |grep -Fvi -e "$to" | ouniq |commajoin)" printf 'Bcc: \n' printf '%s\n' "$hdrs" | awk '{ print }' |