maildir access problem for UID/GID=0/0

Discussion in 'Server Operation' started by stimpack, Jan 17, 2014.

  1. stimpack

    stimpack New Member

    Postfix error on creating root's Maildir/

    Hi folks,
    im installing centos 6.5 + Postfix latest version.
    This problem appear just when i send an email to root user for other users i dont have it when i send an email from my gmail it tells:
    HTML:
    <root@mydomain.ltd>: maildir delivery failed: create maildir file
        /root/Maildir/tmp/1389976331.P28509.mail.mydomain.ltd: Permission
        denied
    
    Final-Recipient: rfc822; root@mydomain.ltd
    Original-Recipient: rfc822;root@mydomain.ltd
    Action: failed
    Status: 5.2.0
    Diagnostic-Code: X-Postfix; maildir delivery failed: create maildir file
        /root/Maildir/tmp/1389976331.P28509.mail.mydomain.ltd: Permission
        denied
    Also WHEN i send emails i check logs it says:
    HTML:
    Jan 16 20:24:15 server postfix/local[12207]: warning: maildir access problem for UID/GID=0/0: create maildir file /root/Maildir/tmp/1389921855.P12207.mail.mydomain.ltd: Permission denied
    Jan 16 20:24:15 server postfix/local[12207]: warning: perhaps you need to create the maildirs in advance
    when i check this directory in my server i cant find it i have created with CHMOD 755 but in vain this problem still appear

    The output of ls -la /var/spool/mail

    HTML:
    drwxr-xr-x.  2 root     mail 4096 Jan 14 22:48 .
    drwxr-xr-x. 11 root     root 4096 Jan 15 02:25 ..
    -rw-rw----.  1 bounce   mail    0 Jan 14 22:48 bounce
    -rwxrwxrwx.  1 cjay     mail 4167 Jan 12 19:31 cjay
    -rw-rw----.  1 john     mail 2026 Jan 12 19:43 john
    -rw-rw----.  1 stimpack mail    0 Jan 12 15:26 stimpack
    -rw-rw----.  1 tyga     mail 2030 Jan 12 19:31 tyga
    
    Any suggestions?
     
    Last edited: Jan 18, 2014

Share This Page