HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Maildir Permission denied in CentOS using postfix (http://www.howtoforge.com/forums/showthread.php?t=30165)

mramin05 9th January 2009 13:35

Maildir Permission denied in CentOS using postfix
 
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
<myownid@xxxxxx.com>: 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

falko 10th January 2009 12:46

Run
Code:

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



All times are GMT +2. The time now is 03:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.