When i send a mail to local postfix installation, i get error
Jun 23 16:13:22 linux postfix/virtual[2526]: warning: maildir access problem
for UID/GID=4444/4444: create maildir file
/home/vmail/info/tmp/1245753802.P2526.linux.localdomain: Permission denied
I have set vmail ownership and also set permission to 777
[r...@linux home]# ls -l|grep vmail
drwxrwxrwx 3 vmail vmail 4096 2009-06-23 15:33 vmail
[r...@linux home]# chmod -R 777 vmail
[r...@linux home]#


Now i send a mail, i got following error
[r...@linux home]# echo "Test with Transport" | mail -s "Test Email"
ad...@hosthat.com
[r...@linux home]# tail -f /var/log/maillog

Jun 23 16:13:22 linux postfix/pickup[2434]: DB0712A8A: uid=0 from=<root>
Jun 23 16:13:22 linux postfix/cleanup[2576]: DB0712A8A: message-id=<
20090623104322.db0712...@linux.hosthat.com>
Jun 23 16:13:22 linux postfix/qmgr[2436]: DB0712A8A: from=<
r...@linux.hosthat.com>, size=445, nrcpt=1 (queue active)
Jun 23 16:13:22 linux postfix/virtual[2526]: warning: maildir access problem
for UID/GID=4444/4444: create maildir file
/home/vmail/info/tmp/1245753802.P2526.linux.localdomain: Permission denied
Jun 23 16:13:22 linux postfix/virtual[2526]: warning: perhaps you need to
create the maildirs in advance
Jun 23 16:13:22 linux postfix/virtual[2526]: DB0712A8A: to=<i...@hosthat.com>,
orig_to=<ad...@hosthat.com>, relay=virtual, delay=0.05,
delays=0.04/0/0/0.01, dsn=4.2.0, status=deferred (maildir delivery failed:
create maildir file /home/vmail/info/tmp/1245753802.P2526.linux.localdomain:
Permission denied)
In postconf, i have gid and uid set to 4444, user vmail have same uid and
gid.
[r...@linux home]# postconf |grep static
authorized_flush_users = static:anyone
authorized_mailq_users = static:anyone
authorized_submit_users = static:anyone
virtual_gid_maps = static:4444
virtual_uid_maps = static:4444
[r...@linux home]# id vmail
uid=4444(vmail) gid=4444(vmail) groups=4444(vmail)
[r...@linux home]#
Why i get permission denied error while i have set permission 777 ?
I tried recreating user vmail few time, but it won't fix the permission
error.

Reply via email to