On Mon Mar 01, 2010 at 23:11:50 +0100, Jack Knowlton wrote: > dsrv:~# ls -alh /var/mail/virtual/domain.com/jo0atj50/ > total 0 > drwxrwsrwx 5 vmail vmail 120 2010-03-01 21:16 . > drwx--S--- 3 vmail vmail 72 2010-03-01 21:16 .. > drwxrwsrwx 2 vmail vmail 48 2010-03-01 21:16 cur > drwxrwsrwx 2 vmail vmail 320 2010-03-01 22:36 new > drwxrwsrwx 2 vmail vmail 48 2010-03-01 22:36 tmp > > dsrv:~# id www-data > uid=33(www-data) gid=33(www-data) groups=33(www-data),5000(vmail) > > Yet when Apache2 tries to _read_ a Maildir file, it always fails. What am > I doing wrong?
Probably the permissions of /var/mail, or one other directory higher up the chain are too strict. I suggest you become the www-data user and explore. Execute something like this as root: su - www-data -s /bin/sh Then try to change to the appropriate directory and cat one of the mail files. Steve -- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100301222717.ga9...@steve.org.uk