I have the same probleme and manage to reproduce it with the code below, reply to test 1, your realname is global realname, then, reply to test 3, your realname is set-realname-1.
you can also reply to test 2 then test 1, realname will be set-realname-2 in both cases. dir=$(mktemp -d) || exit $? mkdir -p $dir/maildir/{tmp,cur,new} for i in 1 2 3 do cat << EOF > $dir/maildir/cur/$i:2,S From: your friend <a...@way.tld> To: received-realname-$i <$...@home.tld> Subject: test $i test $i EOF done cat << EOF > $dir/muttrc set realname="global realname" alternates '(1...@home.tld|3...@home.tld)' reply-hook . 'set realname="default realname"' reply-hook "~t 1...@home.tld" 'set realname = "set-realname-1"' reply-hook "~t 2...@home.tld" 'set realname = "set-realname-2"' set reverse_name = yes set reverse_realname = no # useless but much confortable set folder = $dir/ set spoolfile = "=maildir" # below is not important but much comfortable set abort_nosubject = no set abort_unmodified = no set postpone = no set include = yes set fast_reply = yes EOF mutt -n -F $dir/muttrc rm -rf $dir cheers, -- fraff -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org