• 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.

Resolved postfix/postdrop[30592] warning: mail_queue_enter: create file maildrop/295690.30592: Permission denied

samson

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian Version 18.0.41
I've got thousands of warnings appearing in my mail log browser. All messages are the same apart from the ID numbers

I've just recovered from running a chmod -R 777 / o_O
ran the 2 below codes in single user mode to fix the server
# for p in $(rpm -qa); do rpm --setperms $p; done
# for p in $(rpm -qa); do rpm --setugids $p; done

Reinstalled postfix, I can send emails OK, however, mail received are stuck in the queue due to the permissions.
Also used postfix set-permissions - but still the same
postfix/postdrop[30592]warning: mail_queue_enter: create file maildrop/295690.30592: Permission denied


Hope you can help

Kind regards,

Simon
 
This is the default on CentOS:
Code:
ls -ld /var/spool/postfix
drwxr-xr-x. 18 root root 231 May 31 02:45 /var/spool/postfix

Code:
# ls -l /var/spool/postfix
drwx------. 2 postfix root        6 May 24 19:45 active
drwx------. 2 postfix root        6 May 24 19:45 bounce
drwx------. 2 postfix root        6 May 20 10:49 corrupt
drwx------. 9 postfix root       69 May 20 10:49 defer
drwx------. 9 postfix root       69 May 20 10:49 deferred
drwx------. 2 postfix root        6 May 20 10:49 flush
drwx------. 2 postfix root        6 May 20 10:49 hold
drwx------. 2 postfix root        6 May 24 19:45 incoming
drwx-wx---. 2 postfix postdrop    6 May 24 19:45 maildrop
drwxr-xr-x. 2 root    root      197 May 24 19:42 pid
drwxrwx---. 2 postfix postfix   255 Jun  6 15:24 plesk
drwxrwx---. 2 postfix popuser    24 May 31 02:45 plesk-pop
drwx------. 2 postfix root     4096 Jun  6 15:24 private
drwx--x---. 2 postfix postdrop   88 May 24 19:42 public
drwx------. 2 postfix root        6 May 20 10:49 saved
drwx------. 2 postfix root        6 May 20 10:49 trace
 
Here's mine, maildrop and public slightly different, but I don't know how to change them :confused:

drwx------. 2 postfix root 12288 Jun 10 16:42 active
drwx------. 2 postfix root 4096 Jun 10 16:42 bounce
drwx------. 2 postfix root 4096 Feb 8 02:46 corrupt
drwx------. 18 postfix root 4096 Feb 8 02:46 defer
drwx------. 18 postfix root 4096 Feb 8 02:46 deferred
drwx------. 2 postfix root 4096 Feb 8 02:46 flush
drwx------. 2 postfix root 4096 Feb 8 02:46 hold
drwx------. 2 postfix root 4096 Jun 10 16:42 incoming
drwx-ws---. 2 postfix postdrop 20480 Jun 10 13:20 maildrop
drwxr-xr-x. 2 root root 4096 Jun 10 16:42 pid
drwxrwx---. 2 postfix postfix 4096 Jun 10 16:42 plesk
drwxrwx---. 2 postfix popuser 4096 Jun 10 16:41 plesk-pop
drwx------. 2 postfix root 4096 Jun 10 16:42 private
drwx--s---. 2 postfix postdrop 4096 Jun 10 16:42 public
drwx------. 2 postfix root 4096 Feb 8 02:46 saved
drwx------. 2 postfix root 4096 Apr 13 20:21 trace
 
Code:
# chmod 730 maildrop
# chmod 710 pubic

You can also run this to check the installation:
Code:
# postfix check
 
The changes don't seem to update

I did the following:

cd /var/spool/postfix
systemctl stop postfix
chmod 730 maildrop
chmod 710 pubic
systemctl start postfix
ls -l /var/spool/postfix

Also, how do you convert the letters into numbers :)
 
I've followed the below article and the last point suggests to alter

NoNewPrivileges = false​


Don't know which file to alter
 
Issue is now fixed, thanks to plesk. There were issues with my plesk installation, which once fixed allowed killall -9 postdrop to work, so thanks to

maartenv for helping me out.​

 
Back
Top