After an emerge -C courier-imap-4.0.4, all the courier-* files remain in the /etc/init.d directory. These should be removed on an uninstall.
*** This bug has been marked as a duplicate of 8423 ***