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 = xxxxxx.com
    myhostname = mail.xxxxxx.com


    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
    /home/myownid/Maildir/tmp/1231489707.P8212.mail.xxxxxx.com:
    Permission denied


    My mail directory is /home/myownid/Maildir
    I have created Maildir according the tutorial
    http://wiki.centos.org/HowTos/postfix
    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:
    SELINUX=disabled

    This is the output of -la
    [root@mail ~]# 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.
    Amin
     
  2. falko

    falko Super Moderator Howtoforge Staff

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

Share This Page