To allow custom mailbox folder for individual user:
Add/Edit "/etc/c-client.cf":
set allow-user-config 1
Add/Edit "~/.imaprc" for corresponding user:
set mail-subdirectory mail
All corresponding email files will now reside in the ~/mail folder for the corresponding user.