Current time: 01-11-2025, 04:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
maildir delivery failed
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: maildir delivery failed
Cercetasu Wrote:maildir delivery failed: create file /var/mail/virtual/zaunimpex.ro/office/tmp/.... : Permission denied

what is the ownership and permissions of all theese folders?

/var
/var/mail
/var/mail/virtual
/var/mail/virtual/zaunimpex.ro
/var/mail/virtual/zaunimpex.ro/office
/var/mail/virtual/zaunimpex.ro/office/tmp

?

I got:
Code:
# ls -lad /var
drwxr-xr-x 16 root root 4096 2008-03-10 02:32 /var

# ls -lad /var/mail
drwxrwsr-x 3 root mail 4096 2008-09-12 06:27 /var/mail

# ls -lad /var/mail/virtual/
drwxr-xr-x 8 root root 4096 2008-03-22 01:10 /var/mail/virtual/

# ls -lad /var/mail/virtual/domain1.tld
drwx------ 10 vmail mail 4096 2008-08-18 16:09 /var/mail/virtual/domain1.tld/

# ls -lad /var/mail/virtual/domain1.tld/test
drwxr-xr-x 9 vmail mail 4096 2008-03-11 00:12 /var/mail/virtual/domain1.tld/test

# ls -lad /var/mail/virtual/domain1.tld/test/tmp
drwx------ 2 vmail mail 4096 2008-03-11 00:12 /var/mail/virtual/domain1.tld/test/tmp/

and user vmail has the same uid as the
virtual_minimum_uid = 1001
and
virtual_uid_maps = static:1001

and group mail has the gid of
virtual_gid_maps = static:8

in main.cf...

/J
09-12-2008 04:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
maildir delivery failed - Cercetasu - 07-09-2008, 02:50 AM
RE: maildir delivery failed - kilburn - 07-09-2008, 07:37 PM
RE: maildir delivery failed - Cercetasu - 07-09-2008, 09:02 PM
RE: maildir delivery failed - _lunix_ - 09-11-2008, 02:43 PM
RE: maildir delivery failed - _lunix_ - 09-11-2008, 03:37 PM
RE: maildir delivery failed - gagi2 - 09-11-2008, 11:06 PM
RE: maildir delivery failed - joximu - 09-12-2008 04:36 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)