I installed cyrus-imapd-2.2.12. I ran into a problem when I ran cyrus-imapd-2.2.12/tools/mkimap under user 'cyrus'. When I try the command:
cd /var/imap
chattr +S user quota user/* quota/*
It failed. I realized that there is no subdirectory user nor quota under /var/imap.
I don't know which program creates these two directories. Based on the HOWTO, it seems they should be created by mkimap. I checked mkimap, it has nothing to do with these two directories.

When I use web-cyradm to create a user, I can see the user in the table accountuser (MySQL). But the created user is not in /var/imap or its subdirectory. Additinally, web-cyradm fails to set and get quota of the new created user. I assume it has something to do with the quota directory.

Any help, or hint are greatly appriciated.