New comment by leahneukirchen on mblaze repository https://github.com/leahneukirchen/mblaze/pull/173#issuecomment-606152541 Comment: I'm thinking of a slightly more general feature, something like ``` replyfrom() { addrs="$(maddr -a -h reply-from "$MBLAZE/profile")" grep -Fv -e "addrs" } addr=$(maddr -a -h to:cc:bcc: "$1" | replyfrom | head -n 1) if [ -n "$addr" ]; then from=$(maddr -h reply-from "$MBLAZE/profile" | grep -xi -e "<$addr>" | head - n1) fi if [ -z "$from" ]; then from=$(mhdr -h local-mailbox "$MBLAZE/profile") fi ```