{"id":2305,"date":"2013-05-23T13:58:32","date_gmt":"2013-05-23T20:58:32","guid":{"rendered":"http:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/"},"modified":"2013-05-23T13:58:32","modified_gmt":"2013-05-23T20:58:32","slug":"1304","status":"publish","type":"post","link":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/","title":{"rendered":""},"content":{"rendered":"<p>When installing opendkim on a Centos 5.7 or 5.9 system following the <a href=\"http:\/\/stevejenkins.com\/blog\/2010\/09\/how-to-get-dkim-domainkeys-identified-mail-working-on-centos-5-5-and-postfix-using-opendkim\/\">wonderful howto<\/a> by <a href=\"http:\/\/stevejenkins.com\/blog\">Steven Jenkins<\/a> mail stops going out and the maillog shows:<\/p>\n<pre>\nMay 23 12:55:53 her9 postfix\/cleanup[4836]: warning: cannot receive milters via service cleanup socket socket\nMay 23 12:55:53 her9 postfix\/smtpd[4832]: warning: premature end-of-input on public\/cleanup socket while reading input attribute name\nMay 23 12:55:53 her9 postfix\/smtpd[4832]: warning: cannot send milters to service public\/cleanup socket\nMay 23 12:55:53 her9 postfix\/smtpd[4832]: 8DBDB4D48004: client=localhost.localdomain[127.0.0.1]\nMay 23 12:55:53 her9 postfix\/master[4824]: warning: process \/usr\/libexec\/postfix\/cleanup pid 4836 killed by signal 11\nMay 23 12:55:53 her9 postfix\/master[4824]: warning: \/usr\/libexec\/postfix\/cleanup: bad command startup -- throttling\n<\/pre>\n<p>The syslog is even scarier:<\/p>\n<pre>\nMay 23 12:55:53 her9 kernel: cleanup[4836]: segfault at 0000000000000008 rip 00002b152350db10 rsp 00007fff855746e8 error 6\n<\/pre>\n<p>Yes, a segfault.  Things work better when SELinux gets disabled.<br \/>\nWithout going deeply into the reason of this incompatibility the following commands make opendkim work while SELinux is still active.<\/p>\n<p>This command will show you what did cause trouble today, and convert it already in to the syntax for an &#8216;allow&#8217;:<\/p>\n<pre>\nausearch -m avc -ts today | audit2allow\n\n\nIf what you see is indeed only about opendkim you then can go ahead and install this:\n<\/pre>\n<pre>\nausearch -m avc -ts today | audit2allow -M yourdesiredmodulename\nsemodule -i yourdesiredmodulename.pp\n<\/pre>\n<p>Things work much better then.<\/p>\n<p>The <a href=\"http:\/\/wiki.centos.org\/HowTos\/SELinux\">Centos SELinux How To<\/a> is  a helpful resource for this kind of thing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When installing opendkim on a Centos 5.7 or 5.9 system following the wonderful howto by Steven Jenkins mail stops going out and the maillog shows: May 23 12:55:53 her9 postfix\/cleanup[4836]: warning: cannot receive milters via service cleanup socket socket May 23 12:55:53 her9 postfix\/smtpd[4832]: warning: premature end-of-input on public\/cleanup socket while reading input attribute name [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>- Andreas Wacker<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"- Andreas Wacker\" \/>\n<meta property=\"og:description\" content=\"When installing opendkim on a Centos 5.7 or 5.9 system following the wonderful howto by Steven Jenkins mail stops going out and the maillog shows: May 23 12:55:53 her9 postfix\/cleanup[4836]: warning: cannot receive milters via service cleanup socket socket May 23 12:55:53 her9 postfix\/smtpd[4832]: warning: premature end-of-input on public\/cleanup socket while reading input attribute name [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\" \/>\n<meta property=\"og:site_name\" content=\"Andreas Wacker\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-23T20:58:32+00:00\" \/>\n<meta name=\"author\" content=\"1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@_andreaswacker\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\"},\"author\":{\"name\":\"1\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631\"},\"headline\":\"No title\",\"datePublished\":\"2013-05-23T20:58:32+00:00\",\"dateModified\":\"2013-05-23T20:58:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\"},\"wordCount\":98,\"publisher\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"articleSection\":[\"linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\",\"name\":\"- Andreas Wacker\",\"isPartOf\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#website\"},\"datePublished\":\"2013-05-23T20:58:32+00:00\",\"dateModified\":\"2013-05-23T20:58:32+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#website\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/\",\"name\":\"Andreas Wacker\",\"description\":\"weblog\",\"publisher\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.andreaswacker.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\",\"name\":\"Andreas Wacker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png\",\"contentUrl\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png\",\"width\":248,\"height\":248,\"caption\":\"Andreas Wacker\"},\"logo\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.andreaswacker.com\",\"https:\/\/www.instagram.com\/_andreaswacker\/\",\"https:\/\/x.com\/_andreaswacker\",\"https:\/\/www.youtube.com\/channel\/UCWwFtVC_HATVr-R5EiNmhHw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631\",\"name\":\"1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"1\"},\"url\":\"https:\/\/www.andreaswacker.com\/blog\/author\/1\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"- Andreas Wacker","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/","og_locale":"en_US","og_type":"article","og_title":"- Andreas Wacker","og_description":"When installing opendkim on a Centos 5.7 or 5.9 system following the wonderful howto by Steven Jenkins mail stops going out and the maillog shows: May 23 12:55:53 her9 postfix\/cleanup[4836]: warning: cannot receive milters via service cleanup socket socket May 23 12:55:53 her9 postfix\/smtpd[4832]: warning: premature end-of-input on public\/cleanup socket while reading input attribute name [&hellip;]","og_url":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/","og_site_name":"Andreas Wacker","article_published_time":"2013-05-23T20:58:32+00:00","author":"1","twitter_card":"summary_large_image","twitter_site":"@_andreaswacker","twitter_misc":{"Written by":"1","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/#article","isPartOf":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/"},"author":{"name":"1","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631"},"headline":"No title","datePublished":"2013-05-23T20:58:32+00:00","dateModified":"2013-05-23T20:58:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/"},"wordCount":98,"publisher":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"articleSection":["linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/","url":"https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/","name":"- Andreas Wacker","isPartOf":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#website"},"datePublished":"2013-05-23T20:58:32+00:00","dateModified":"2013-05-23T20:58:32+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.andreaswacker.com\/blog\/2013\/05\/23\/1304\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.andreaswacker.com\/blog\/#website","url":"https:\/\/www.andreaswacker.com\/blog\/","name":"Andreas Wacker","description":"weblog","publisher":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.andreaswacker.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a","name":"Andreas Wacker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png","contentUrl":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png","width":248,"height":248,"caption":"Andreas Wacker"},"logo":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.andreaswacker.com","https:\/\/www.instagram.com\/_andreaswacker\/","https:\/\/x.com\/_andreaswacker","https:\/\/www.youtube.com\/channel\/UCWwFtVC_HATVr-R5EiNmhHw"]},{"@type":"Person","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631","name":"1","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"1"},"url":"https:\/\/www.andreaswacker.com\/blog\/author\/1\/"}]}},"_links":{"self":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2305"}],"collection":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/comments?post=2305"}],"version-history":[{"count":0,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2305\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/media?parent=2305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/categories?post=2305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/tags?post=2305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}