{"id":509,"date":"2010-02-06T09:44:18","date_gmt":"2010-02-06T13:44:18","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=509"},"modified":"2013-03-20T08:42:24","modified_gmt":"2013-03-20T12:42:24","slug":"postdrop-mail_queue_enter-create-file-maildrop-permission-denied","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/postdrop-mail_queue_enter-create-file-maildrop-permission-denied","title":{"rendered":"postdrop: create file maildrop\/xxx: Permission denied"},"content":{"rendered":"<p>You may see quite a few maildrop warning messages in the postfix logs such as<\/p>\n<p><span style=\"color: #0000ff;\"><strong>postdrop: warning: mail_queue_enter: create file maildrop\/xxxx.xxxx: Permission denied<br \/>\npostdrop: warning: mail_queue_enter: create file maildrop\/yyyy.yyyy: Permission denied<\/strong><\/span><\/p>\n<p>The error occurs when postfix is not able to write under the &#8220;maildrop&#8221; folder and hence unable to send emails. This is due to incorrect ownership on the &#8216;maildrop&#8217; folder i.e. the &#8220;maildrop&#8221; folder is not owned by &#8216;postfix&#8217;.<\/p>\n<p>Check the ownership\/permissions of the postfix files:<\/p>\n<p><span style=\"color: #0000ff;\"><strong># \/etc\/init.d\/postfix check<br \/>\npostfix\/postfix-script: warning: not owned by postfix: \/var\/spool\/postfix\/public<br \/>\npostfix\/postfix-script: warning: not owned by postfix: \/var\/spool\/postfix\/maildrop<\/strong><\/span><\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>Stop the postfix service:<\/p>\n<p><span style=\"color: #0000ff;\"><strong># \/etc\/init.d\/postfix stop<\/strong><\/span><\/p>\n<p>Kill the postdrop processes:<\/p>\n<p><span style=\"color: #0000ff;\"><strong># killall -9 postdrop<\/strong><\/span><\/p>\n<p>Correct the ownership of the above directories:<\/p>\n<p><span style=\"color: #0000ff;\"><strong># chown postfix.postdrop \/var\/spool\/postfix\/public -R<br \/>\n# chown postfix.postdrop \/var\/spool\/postfix\/maildrop -R<\/strong><\/span><\/p>\n<p>Now, start the postfix service:<\/p>\n<p><span style=\"color: #0000ff;\"><strong># \/etc\/init.d\/postfix start<\/strong><\/span><\/p>\n<p>Emails should now be working fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may see quite a few maildrop warning messages in the postfix logs such as<br \/>\npostdrop: warning: mail_queue_enter: create file maildrop\/xxxx.xxxx: Permission denied<br \/>\npostdrop: warning: mail_queue_enter: create file maildrop\/yyyy.yyyy: Permission denied<br \/>\nThe error occurs when postfix is not able to write under the &#8220;maildrop&#8221; folder and hence unable to send emails. This is due to incorrect ownership on the &#8216;maildrop&#8217; folder i.e. the &#8220;maildrop&#8221; folder is not owned by &#8216;postfix&#8217;.<br \/>\nCheck the ownership\/permissions of the postfix files:<br \/>\n# \/etc\/init.d\/postfix check<br \/>\npostfix\/postfix-script: warning: not owned by postfix: \/var\/spool\/postfix\/public<br \/>\npostfix\/postfix-script: warning: not owned by postfix: \/var\/spool\/postfix\/maildrop<br \/>\nSolution:<br \/>\nStop the [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[691,685,687,688,689,690,684,686],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/509"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"predecessor-version":[{"id":2186,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions\/2186"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}