I'm trying to set postfix with virtual mailboxes in Ubuntu server 12.04 in a virtual machine with same OS as host. I have done so in the past following:
However for some reason I'm stuck testing the virtual mailbox setup, I can send email even out of the network but maildir fails delivery when receiving. I keep on getting an error in /var/log/mail.log:
I've dealt with Protocol error or permission error and there are plenty of threads about them, but for the last 3 days I can't figure out this "operation not permitted". It goes as far as creating the directories by itself (~/domain.com/hello/new/) but it can create the email file.....Config file and situation are pretty much the same in the tutorial, I have checked permissions, configs, users, groups, chroot, apparmor everything seems fine, there is no dovecot or certificates so should be straight forward....I must be missing something.
Jun 15 20:11:57 mail postfix/virtual: 15A67A2D28: to=<firstname.lastname@example.org>, relay=virtual, delay=0.05, delays=0.04/0/0/0.01, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /home/vmail/domain.com/hello/new/1371341517.V14IcM123045.mail.domain.com: Operation not permitted)
I would much appreciate if someone can throw any idea....I am running out.
Thanks in advance.