setup.php could check the dovecot version (dovecot --version) and and check if $CONF['new_quota_table'] is set accordingly. If the setting does not match the dovecot version, it should print a warning.
Possible problems that need to be adressed:
- dovecot not installed at all (because Courier etc. is used)
- path to dovecot? Or just try without path?