How to fix "warning: mail_queue_enter: create file maildrop Permission denied”


just fixed that for a customer and wanted to let you know about my findings:
First of all, stop postfix, check if it is still running, kill it if necessary and well here are the shell commands

  • /etc/init.d/postfix stop
  • killall -9 postdrop
  • chgrp -R postdrop /var/spool/postfix/public
  • chgrp -R postdrop /var/spool/postfix/maildrop/
  • postfix check
  • /etc/init.d/postfix start

 

If that doesn´t help, you might also want to try:

  • /etc/postfix/post-install upgrade-permissions
  • /usr/sbin/postfix set-permissions 

Hope it helps!

Last update:
01-05-2012 00:19
Author:
Daniel Urstöger
Revision:
1.1
Average rating: 5 (3 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.