As seen in the /var/log/maillog when mail received or sent, sendmail saving mails to /var/spool/mail/$user and logging them as stat=Sent
When a user try to send or receive mail via imap it is not shown in ~$user/mail/
/etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/mail:INBOX=~/mail/.INBOX
- Directory and file permissons are correct.
[root@mail ~]# ll -d /home/$user/mail
drwx------. 7 $user $user 4096 Oct 25 14:04 /home/$user/mail
There is no log about this problem in /var/log/maillog. I am wondering that how to send mail file to user's mail directory?