Since I always find in my /var/log/mail.log
Jun 14 08:58:11 mx-1 imapd: chdir domain.com/joseph/: No such file or directory
I tried to manually create the directory.
#chown vmail.vmail /home/vmail/domain.com/joseph
Then login to squirrelmail and finally I was able to get in. However, there's this error after logging in.
ERROR: Connection dropped by IMAP server.
Query: SUBSCRIBE "INBOX.Sent"
I think it's because of the permission on the directory. Mailbox are not being created automatically.
I know there's a way i can make this manually? I just don't know how.
I read a post having the same problem here
and it was answered by falko. It was suggested to send an email first before logging into squirrelmail. But it doesn't fix my problem. I tried it using different account, yet I failed.
Hope you can point me to the right track.