/usr/sbin/imapd is in courier-imap 4.17.2+0.76.3-5+deb9u1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/sbin/../lib/courier/imapd
/usr/sbin/../lib/courier/imapd