{"id":666,"date":"2014-12-08T18:42:15","date_gmt":"2014-12-08T17:42:15","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=666"},"modified":"2014-12-08T18:42:15","modified_gmt":"2014-12-08T17:42:15","slug":"clamav-milter-postfix-centos-7","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=666","title":{"rendered":"ClamAV Milter + CentOS 7"},"content":{"rendered":"<p>\n\tSometimes i&#39;m asking myself who the fuck is releasing some totally bugged packages&#8230; After several trials here what you need to do to get the EPEL clamav to run on CentOS 7:\n<\/p>\n<pre>\nyum install clamav-milter-systemd clamav-scanner-systemd clamav-update\ncp \/etc\/clam.d\/scan.conf \/etc\/clamd.d\/clamd.conf<\/pre>\n<p>\n\tedit \/etc\/clamd.d\/clamd.conf\n<\/p>\n<pre>\nLogSyslog yes\nDatabaseDirectory \/var\/lib\/clamav\nTCPSocket 3310\nTCPAddr 127.0.0.1\nUser clamscan\nAllowSupplementaryGroups yes<\/pre>\n<p>\n\tStart it and enable for reboot\n<\/p>\n<pre>\nsystemctl restart clamd@clamd.service\nsystemctl enable clamd@clamd.service\n<\/pre>\n<p>\n\tedit then&nbsp;\/etc\/mail\/clamav-milter.conf\n<\/p>\n<pre>\nMilterSocket inet:<span class=\"s1\">7357<\/span>\nUser clamilt\nAllowSupplementaryGroups yes\nClamdSocket tcp:127.0.0.1:3310\nLogSyslog yes\nOnClean Accept\nOnInfected Reject\nOnFail Defer<\/pre>\n<p>\n\tstart the milter now and on reboot\n<\/p>\n<pre>\nsystemctl restart clamav-milter\nsystemctl enable clamav-milter\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes i&#39;m asking myself who the fuck is releasing some totally bugged packages&#8230; After several trials here what you need to do to get the EPEL clamav to run on CentOS 7: yum install clamav-milter-systemd clamav-scanner-systemd clamav-update cp \/etc\/clam.d\/scan.conf \/etc\/clamd.d\/clamd.conf edit \/etc\/clamd.d\/clamd.conf LogSyslog yes DatabaseDirectory \/var\/lib\/clamav TCPSocket 3310 TCPAddr 127.0.0.1 User clamscan AllowSupplementaryGroups yes Start [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=666"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/666\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}