• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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