{"id":938,"date":"2010-06-21T08:35:33","date_gmt":"2010-06-21T12:35:33","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=938"},"modified":"2013-03-20T08:42:47","modified_gmt":"2013-03-20T12:42:47","slug":"qmail-inject-fatal-mail-server-permanently-rejected-message","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/qmail-inject-fatal-mail-server-permanently-rejected-message","title":{"rendered":"qmail-inject: fatal: mail server permanently rejected message"},"content":{"rendered":"<p>You may notice &#8220;<strong>qmail-inject: fatal: mail server permanently rejected message<\/strong>&#8221; error message while sending emails from a Plesk server<\/p>\n<blockquote>\n<pre>qmail-queue-handlers[xxxx]: Unable to change group ID: Operation\r\nnot permitted\r\nqmail-queue[xxxx]: files: write buf 0xbff4dfe0[156] to fd (5)\r\nerror - (32) Broken pipe\r\nqmail-queue[xxxx]: files: cannot write chuck from 4 to 5 - (32)\r\nBroken pipe<\/pre>\n<\/blockquote>\n<p>The reason is the incorrect permission and\/or ownership of the &#8216;qmail-queue&#8217; file under the \/var\/qmail\/bin directory.<\/p>\n<p>To fix the issue, you need to make sure the ownership of the\u00a0qmail-queue file is <span style=\"color: #0000ff;\">mhandlers-user:popuser<\/span> and the permission are <span style=\"color: #0000ff;\">2511<\/span>.<\/p>\n<p>To check the current ownership and permission of the file, execute:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># ls -la \/var\/qmail\/bin\/qmail-queue<\/span><\/pre>\n<\/blockquote>\n<p>It should be as follows:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">-r-x--s--x 1 mhandlers-user popuser May 4 \/var\/qmail\/bin\/qmail-queue<\/span><\/pre>\n<\/blockquote>\n<p>If not, correct the ownership<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># chown mhandlers-user.popuser \/var\/qmail\/bin\/qmail-queue<\/span><\/pre>\n<\/blockquote>\n<p>set the proper permissions,<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># chmod 2511 \/var\/qmail\/bin\/qmail-queue<\/span><\/pre>\n<\/blockquote>\n<p>Restart the qmail service and the emails will work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may notice &#8220;qmail-inject: fatal: mail server permanently rejected message&#8221; error message while sending emails from a Plesk server<\/p>\n<p>qmail-queue-handlers[xxxx]: Unable to change group ID: Operation<br \/>\nnot permitted<br \/>\nqmail-queue[xxxx]: files: write buf 0xbff4dfe0[156] to fd (5)<br \/>\nerror &#8211; (32) Broken pipe<br \/>\nqmail-queue[xxxx]: files: cannot write chuck from 4 to 5 &#8211; (32)<br \/>\nBroken pipe<\/p>\n<p>The reason is the incorrect permission and\/or ownership of the &#8216;qmail-queue&#8217; file under the \/var\/qmail\/bin directory.<br \/>\nTo fix the issue, you need to make sure the ownership of the\u00a0qmail-queue file is mhandlers-user:popuser and the permission are 2511.<br \/>\nTo check the current ownership and [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[898,897,893,895,894,896,901,899,900],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/938"}],"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=938"}],"version-history":[{"count":10,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/938\/revisions"}],"predecessor-version":[{"id":941,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/938\/revisions\/941"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}