I am attempting to have multiple user accounts, each capable of receiving their own mail in their own Maildir directory. When I add a new user account however, no Maildir directory structure is created.
I have been researching online and from what I have read, the Maildir directory structure should be created on receipt of the first inbound mail. When I attempt sending mail to a certain user account, and then use mail as that user, I get the message No mail for user, and no mail structure is created.
I attempted creating the structure myself, adding /Maildir/new/ and /Maildir/tmp. Once created, mail now returns
Cannot open mailbox /home/user/Maildir: Is a directory
No mail for user
This makes me suspect the issue could be between postfix expecting an mbox format (file) instead of Maildir format (directory). Though postfix's main.cf file does have home_mailbox = Maildir/ set.
I suspect the issue could possibly be due to problems in my setting up of postfix virtual_aliases, though I'm not entirely sure.
If anyone has any suggestions or thoughts as to what the issue could be, input would be appreciated. For someone who has done this before, what general process do you follow when adding a new postfix user? I think an answer to this may help point me in the right direction.