This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Are you sure Dovecot isn't already running?
What does this show:
ps auxw | grep dovecot
This command should in theory restart it in the case that it is:
/etc/init.d/dovecot restart
If that doesn't help, it means another daemons is running that handles IMAP. What we'd need in order to help is the full output of this command:
ps auxw