The mhn command fails to access a read-only folder, e. g.:
$ which mhn
/usr/bin/mailutils-mh
$ mhn +foo 12345
$ echo $?
0
$
Running mhn under strace(1) reveals that it tries,
unsuccessfully, to open(2) ~/Mail/foo/12345 with O_RDWR.
Arguably, it should've used O_RDONLY instead.
The scan command produces a list devoid of any information for
this folder, except for the message numbers.
Also, for no reason obvious to me, both commands try to access
~/Mail/foo/10000 (which is the first message in the folder) just
as well.
The operation on read-only folders is a generic prerequisite of
accessing shared mail folders (such as, e. g., mailing list or
newsgroup archives.)