• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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