virtual_localdelivery defer (13): Permission denied: stat()

Invader Zim

Verified User
Joined
Sep 4, 2004
Messages
177
We've got a user whose username is completely numerical (5 digits, although I doubt this really matters). When email comes for one of the domains in this user account we see the following in /var/log/exim/mainlog

Code:
[email protected] R=virtual_user T=virtual_localdelivery defer (13): Permission denied: stat() error for /home/USER/imap/domain.tld/emailaddress/Maildir: Permission denied

There were a lof of these mails in the queue earlier today. After running

Code:
/usr/local/directadmin/scripts/set_permissions.sh set_user_home USER

and forced exim to deliver the emails they got through but after restarting exim we again got permission denied.

Now there's emails in the queue again and the previous workaround doesn't seem to have the same effect anymore. The permissions on the imap tree are correct and so are the ownerships.
 
Back
Top