Error creating mailbox postfix
Error creatingmailboxpostfix
Automaticallytranslateddocument
After you create a mailbox when you try to receive e-mail you get the message:
imap-login: Login: user=<test3>, method=PLAIN, rip=1::1, lip=::1, mipd=21177, secured
imap(test3): Error: chown (/home/test3/mail/.imap/INBOX, -1,12(mail)) failed: Operation not permitted (egid=514(test3), group based on /var/spool/mail/test3)
imap(test3): Error: mkdir (/home/test3/mail/.imap/INBOX) failed: Operation not permitted
Disconnected: Logged out bytes=50/552
Troubleshooting:
The problem can be solved in several ways, change the permissions on the folder chmod 0600 / var / spool / mail / *, and the mailbox and /home/test3/mail/.imap/*
(chmod g-rwx / var / spool / newuser, chgrp / var / spool / newuser)
Give access to the process of post - mail_access_groups = mail
You can also manually set up a folder INBOX folder permissions setting /home/test3/mail/.imap/ same user rights (chown test3.test3 INBOX)