{"id":1537,"date":"2013-06-25T18:37:32","date_gmt":"2013-06-25T12:37:32","guid":{"rendered":"http:\/\/notes.norfolks.org\/?p=1537"},"modified":"2013-06-25T18:37:32","modified_gmt":"2013-06-25T12:37:32","slug":"%d0%be%d1%82%d0%ba%d1%8e%d1%87%d0%b5%d0%bd%d0%b8%d1%8f-antispam-%d0%b8-antivirus-%d0%bd%d0%b0-postfix","status":"publish","type":"post","link":"https:\/\/notes.norfolks.fun\/?p=1537","title":{"rendered":"\u041e\u0442\u043a\u044e\u0447\u0435\u043d\u0438\u044f antispam \u0438 antivirus \u043d\u0430 postfix"},"content":{"rendered":"<p>If you use a mailserver wil very low ram (< 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy for your server hardware. The steps to disable clamav and amavisd are:\n\nEdit postfix main.cf file\n\n\n\n<pre lang=\"bash\">vi \/etc\/postfix\/main.cf<\/pre>\n<p>and comment out these lines by adding a \u201c#\u201d in front of them:<\/p>\n<p><code># content_filter = amavis:[127.0.0.1]:10024<br \/>\n # receive_override_options = no_address_mappings<\/code><\/p>\n<p>Then restart postfix:<\/p>\n<pre lang=\"bash\">\/etc\/init.d\/postfix restart<\/pre>\n<p>Now stop and disable the services. The following commands are for Debian and Ubuntu, the commands for other Linux distributions may vary<\/p>\n<pre lang=\"bash\">\/etc\/init.d\/clamav-daemon stop\r\n \/etc\/init.d\/clamav-freshclam stop\r\n \/etc\/init.d\/amavis stop<\/pre>\n<pre lang=\"bash\">update-rc.d -f clamav-daemon remove\r\n update-rc.d -f clamav-freshclam remove\r\n update-rc.d -f amavis remove<\/pre>\n<p>P The normal mail receive and send functions will still work after this modification. But please be aware that disabling amavisd and clamav will disable all spam- and antivirus filtering so that the spamfiltering options that can be configured in the ispconfig interface will have any effect on mail delivery and no spam and viruses will get filtered.<\/p>\n<p>The changes in postfix main.cf will get overwitten by a ispconfig software update when you select to reconfigure services during upadte, so you should comment out the lines again after you install a ispconfig update.<\/p>\n<p><a href=\"http:\/\/www.faqforge.com\/linux\/controlpanels\/ispconfig3\/how-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3\/\">http:\/\/www.faqforge.com\/linux\/controlpanels\/ispconfig3\/how-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use a mailserver wil very low ram (< 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy &hellip; <a href=\"https:\/\/notes.norfolks.fun\/?p=1537\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,8],"tags":[],"class_list":["post-1537","post","type-post","status-publish","format-standard","hentry","category-linux","category-8"],"_links":{"self":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/1537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1537"}],"version-history":[{"count":1,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/1537\/revisions"}],"predecessor-version":[{"id":1538,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=\/wp\/v2\/posts\/1537\/revisions\/1538"}],"wp:attachment":[{"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.norfolks.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}