Maildir Permission denied in CentOS using postfix

Discussion in 'Installation/Configuration' started by mramin05, Jan 9, 2009.

  1. mramin05

    mramin05 New Member

    Hi guys,

    I have installed postfix and Dovecot in my CentOS 5 box.

    mydomainname =
    myhostname =

    But when I send mail from my yahoo mail, The mail is not send and the reply
    following message comes :

    The mail system
    <[email protected]>: maildir delivery failed: create
    maildir file
    Permission denied

    My mail directory is /home/myownid/Maildir
    I have created Maildir according the tutorial
    and configure the as the same
    I have tried with chmod 777 /home/myownid/Maildir
    but the same reply.
    I have also disabled the SELINUX and reboot the machine.
    >>grep SELINUX /etc/selinux/config
    # SELINUX= can take one of these three values:

    This is the output of -la
    [[email protected] ~]# ls -la /home/myownid/Maildir
    total 40
    drwxrwxrwx 5 root root 4096 Jan 9 07:08 .
    drwx------ 6 myownid myownid 4096 Jan 9 05:00 ..
    drwx------ 2 myownid myownid 4096 Jan 9 07:06 cur
    -rw------- 1 myownid myownid 144 Jan 9 07:08 dovecot.index
    -rw------- 1 myownid myownid 10272 Jan 9 07:06 dovecot.index.cache
    -rw------- 1 myownid myownid 124 Jan 9 07:08 dovecot.index.log
    drwx------ 2 myownid myownid 4096 Jan 9 07:06 new

    What should I do?
    Please help me.
  2. falko

    falko Super Moderator ISPConfig Developer

    chown myownid:myownid /home/myownid/Maildir
    chmod 700 /home/myownid/Maildir

Share This Page