Well, thanks with your help, but i removed dovecot and postfix and reinstalled them following another guide to do the email system.
Did you check that this directory exists? And are starting dovecot as root? This is not a ispconfig-setup. Check your dovecot-sql.conf