Just want to share the fix for this, in case is still needed. As the osTicket guesses, the main folder is INBOX from IMAP (Dovecot service) point of view, even tho the underlaying folder is "/var/qmail/mailnames/<domainname>/<user>/Maildir/cur" (as noted by Rasp).
You specify the folder name...