mail_queue_enter: create file maildrop/XXXXXXXX : Permission denied

Discussion in 'General' started by jnsc, Apr 27, 2017.

  1. jnsc

    jnsc rotaredoM Moderator

    Hi, yesterday I messed up the ownership of a great part of my system, I fixed most part of it, but in the mail logs I see lines like

    Apr 27 10:50:01 server postfix/postdrop[18698]: warning: mail_queue_enter: create file maildrop/522712.18698: Permission denied

    permission looks ok
    sudo ls -lad /var/spool/postfix/maildrop/
    drwx-wx--- 2 postfix postdrop 4096 Apr 27 10:39 /var/spool/postfix/maildrop/

    and sudo postfix check is also happy, so does anyone know what directory is meant by this error? I recieved some mails, so it might only affect a part of mails.

    Thanks for your help
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    did you check the permissions for /var/spool/.... , too?
  3. jnsc

    jnsc rotaredoM Moderator

    Yes and sudo postfix check, also check this. But in the mean time I resolved the issue by rebooting the server a process was apparently still running under the wrong user, and restarting postfix alone was not enough.

    Thanks for your help

Share This Page