• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Permissions for /usr/local/psa/handlers/spool

Tobias04

New Pleskian
Hello,

yesterday I had an issue that the /usr/local/psa/handlers/spool folder was full of spam mails (multiple GBs), thanks to the Greylist feature (apparently). I have force-removed the spool folder and its content and removed all entries from my greylist.
Unfortunately, since then I couldn't send and receive emails anymore.

When I don't have the "spool" folder, the /var/log/maillog shows me this:
plesk sendmail[XXXXX]: cannot create temporary file - (2) No such file or directory

So I have manually created the "spool" folder and now it shows me this error:
plesk sendmail[XXXXX]: cannot create temporary file - (13) Permission denied

Even when I change the permission of "spool" to 777, the issue is still the same. Why is the permission denied, even when everyone has RWX-access to it?

Thank you in advance!

EDIT:
These are the permissions of all folders from my handlers folder:
drwxr-xr-x. 8 popuser popuser 4096 21. Aug 15:17 .
drwxr-xr-x. 15 root root 4096 9. Aug 07:11 ..
drwxr-xr-x. 2 popuser popuser 4096 26. Aug 2015 before-local
drwxr-xr-x. 2 popuser popuser 4096 26. Aug 2015 before-queue
drwxr-xr-x. 2 popuser popuser 4096 26. Aug 2015 before-remote
drwxr-xr-x. 2 popuser popuser 4096 21. Aug 14:44 hooks
drwxr-xr-x. 2 popuser popuser 4096 26. Aug 2015 info
drwxrwxrwx. 2 root root 4096 21. Aug 15:31 spool
 
Last edited:
Hi Tobias04,

the correct permissions would be:

Code:
drwxr-xr-x ... root    root
drwxr-xr-x ... root    root
drwxr-xr-x ... root    root    ... before-local
drwxr-xr-x ... root    root    ... before-queue
drwxr-xr-x ... root    root    ... before-remote
drwxr-xr-x ... root    root    ... hooks
drwxr-xr-x ... root    root    ... info
drwxrwx--- ... popuser popuser ... spool

Consider to use the Plesk repair utility, if you experience issues with your mail - server configuration:

plesk repair mail

or/and

/usr/local/psa/admin/sbin/mchk --with-spam
 
Back
Top