Plesk for Linux
kb: technical
ABT: Group B
Applicable to:
- Plesk for Linux
Symptoms
-
Mail is stuck in the mail queue
-
Errors like the following can be found in
/var/log/maillog
:CONFIG_TEXT: postfix-local[7204]: System error .qmail: Permission denied
postfix-local[7204]: Wrong permissions for .qmail
Cause
Incorrect permission for file /var/qmail/mailnames/example.com/jdoe/.qmail
.
Resolution
-
Connect to the server via SSH.
-
Execute the commands below to fix permissions:
# /usr/local/psa/admin/sbin/mchk --with-spam
Additional information
Incoming mail is not received: System error .qmail: Permission denied
Comments
3 comments
What if first step fixed simlinks and scripts but calling "set-permissions" cause error
'chown : cannot access /usr/lib/postfix/dict_cdb.so' No such file or directory' ?
Hi @Антон Ткачов,
Actually, running set-permissions on a Plesk server under some OSes can result in wrong permissions being applied (as we have a custom one on Debian/Ubuntu, different from the postfix defaults), so I removed this command from the article.
In case you are still seeing `Wrong permissions for .qmail` in the maillog, I suggest running repair mail as follows:
# plesk repair mail
Perhaps you can write what the CORRECT permissions are for a .qmail file?
Please sign in to leave a comment.