/usr/lib/sm.bin/mailq is in sendmail-bin 8.15.2-10.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/sm.bin/sendmail
/usr/lib/sm.bin/sendmail