{"id":274,"date":"2009-04-01T23:44:00","date_gmt":"2009-04-01T15:44:00","guid":{"rendered":"http:\/\/juan.tw\/?p=274"},"modified":"2015-06-08T21:40:10","modified_gmt":"2015-06-08T13:40:10","slug":"clamav-0-95-sendmail-%e5%8d%87%e7%b4%9a-issue","status":"publish","type":"post","link":"https:\/\/juan.tw\/?p=274","title":{"rendered":"Clamav 0.95 + Sendmail \u5347\u7d1a issue"},"content":{"rendered":"<p>\u6700\u8fd1 Clamav \u5f9e 0.942 \u6539\u5230 0.95 \u7248<br \/>\n\u6709\u500b\u5927\u6539\u52d5\u5c31\u662f\u65b0\u589e\u4e86\u4e00\u500b clamav-milter.conf \u7684\u8a2d\u5b9a\u6a94<\/p>\n<p>\u4e4b\u524d\u56e0\u70ba\u88dd\u4e86 sendmail + spamassain + clamav<br \/>\n\u7b49 port upgrade \u653e\u5165 Clamav 0.95 \u4e4b\u5f8c\u52d5\u624b\u5b89\u88dd<\/p>\n<p>compile \u53ca\u5b89\u88dd\u90fd\u4e00\u5207\u90fd\u5f88\u9806\u5229<br \/>\n\u4f46\u91cd\u555f clamav-milter \u6642\u7e3d\u6703\u51fa\u73fe\u4ee5\u4e0b\u7684\u932f\u8aa4\u8a0a\u606f:<\/p>\n<p>Waiting for clamd socket..<br \/>\nStarting clamav_milter.<br \/>\n\/usr\/local\/sbin\/clamav-milter: illegal option &#8212; m<br \/>\nERROR: Unknown option passed<br \/>\nERROR: Can&#8217;t parse command line options<\/p>\n<p>\u67e5\u4e86\u534a\u5929, \u770b\u4e0d\u51fa\u500b\u6240\u4ee5\u7136\u4f86<br \/>\ngoogle \u4e0a\u4e5f\u6c92\u627e\u5230\u985e\u4f3c\u7684\u8a0e\u8ad6<\/p>\n<p>\u5f8c\u4f86\u6aa2\u67e5\u5230 \/etc\/rc.conf \u6642<br \/>\n\u5594\u5594 ~<br \/>\n\u770b\u5230 rc.conf \u88e1\u9762\u6709\u4e00\u884c\u4e4b\u524d\u52a0\u7684\u53c3\u6578<br \/>\nclamav_milter_flags=&#8221;-loP -m20&#8243;<\/p>\n<p># \u5f8c\u518d restart clamav-milter \u5c31 ok \u4e86<\/p>\n<p>\u5168\u65b0\u7684\u8a2d\u5b9a\u6a94\u662f \/usr\/local\/etc\/clamav-miltrer.conf<br \/>\n\u88e1\u9762\u6709\u8a31\u591a\u53ef\u4ee5 tuning \u7684\u53c3\u6578<br \/>\n\u6709\u7a7a\u518d\u6162\u6162 study \u4e86<\/p>\n<p>\u7b2c\u4e00\u6b65\u662f\u5148\u5207 256M \u7684 RAM \u7576 Ramdisk<br \/>\n\u628a clamd\/clamav-milter \u7684\u66ab\u5b58\u6a94\u90fd\u4e1f\u5230 ramdisk \u53bb\u52a0\u5feb\u6383\u7784\u901f\u5ea6<\/p>\n<p><em>\u539f2009\/04\/01\u767c\u8868\u65bc<\/em><a href=\"http:\/\/unixcafe.twirc.org\/viewtopic.php?t=257\"><em>UnixCafe<\/em><\/a><\/p>\n<p class=\"facebook\"><a href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/juan.tw\/?p=274\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/juan.tw\/wp-content\/plugins\/add-to-facebook-plugin\/facebook_share_icon.gif\" alt=\"Share on Facebook\" title=\"Share on Facebook\" \/><\/a><a href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/juan.tw\/?p=274\" target=\"_blank\" title=\"Share on Facebook\">Share on Facebook<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1 Clamav \u5f9e 0.942 \u6539\u5230 0.95 \u7248 \u6709\u500b\u5927\u6539\u52d5\u5c31\u662f\u65b0\u589e\u4e86\u4e00\u500b clamav-milter.conf \u7684\u8a2d\u5b9a\u6a94<\/p>\n<p>\u4e4b\u524d\u56e0\u70ba\u88dd\u4e86 sendmail + spamassain + clamav \u7b49 port upgrade \u653e\u5165 Clamav 0.95 \u4e4b\u5f8c\u52d5\u624b\u5b89\u88dd<\/p>\n<p>compile \u53ca\u5b89\u88dd\u90fd\u4e00\u5207\u90fd\u5f88\u9806\u5229 \u4f46\u91cd\u555f clamav-milter \u6642\u7e3d\u6703\u51fa\u73fe\u4ee5\u4e0b\u7684\u932f\u8aa4\u8a0a\u606f:<\/p>\n<p>Waiting for clamd socket.. Starting clamav_milter. \/usr\/local\/sbin\/clamav-milter: illegal option &#8212; m ERROR: Unknown option passed ERROR: Can&#8217;t parse command line options<\/p>\n<p>\u67e5\u4e86\u534a\u5929, \u770b\u4e0d\u51fa\u500b\u6240\u4ee5\u7136\u4f86 google \u4e0a\u4e5f\u6c92\u627e\u5230\u985e\u4f3c\u7684\u8a0e\u8ad6<\/p>\n<p>\u5f8c\u4f86\u6aa2\u67e5\u5230 \/etc\/rc.conf \u6642 \u5594\u5594 ~ \u770b\u5230 rc.conf \u88e1\u9762\u6709\u4e00\u884c\u4e4b\u524d\u52a0\u7684\u53c3\u6578 clamav_milter_flags=&#8221;-loP -m20&#8243;<\/p>\n<p># \u5f8c\u518d restart clamav-milter \u5c31 ok \u4e86<\/p>\n<p>\u5168\u65b0\u7684\u8a2d\u5b9a\u6a94\u662f \/usr\/local\/etc\/clamav-miltrer.conf \u88e1\u9762\u6709\u8a31\u591a\u53ef\u4ee5 tuning \u7684\u53c3\u6578 \u6709\u7a7a\u518d\u6162\u6162 study \u4e86<\/p>\n<p>\u7b2c\u4e00\u6b65\u662f\u5148\u5207 256M \u7684 RAM \u7576 Ramdisk \u628a clamd\/clamav-milter \u7684\u66ab\u5b58\u6a94\u90fd\u4e1f\u5230 ramdisk \u53bb\u52a0\u5feb\u6383\u7784\u901f\u5ea6<\/p>\n<p>\u539f2009\/04\/01\u767c\u8868\u65bcUnixCafe<\/p>\n<p class=\"facebook\">Share on Facebook<\/p>\n<p class=\"facebook\"><a href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/juan.tw\/?p=274\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/juan.tw\/wp-content\/plugins\/add-to-facebook-plugin\/facebook_share_icon.gif\" alt=\"Share on Facebook\" title=\"Share on Facebook\" \/><\/a><a href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/juan.tw\/?p=274\" target=\"_blank\" title=\"Share on Facebook\">Share on Facebook<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[271,103,211],"class_list":["post-274","post","type-post","status-publish","format-standard","hentry","category-computer-networking","tag-clamav","tag-freebsd","tag-sendmail","odd"],"psp_head":"<title>Clamav 0.95 + Sendmail \u5347\u7d1a issue \u2013 absolute Juan<\/title>\r\n<meta name=\"description\" content=\"\u6700\u8fd1 Clamav \u5f9e 0.942 \u6539\u5230 0.95 \u7248 \u6709\u500b\u5927\u6539\u52d5\u5c31\u662f\u65b0\u589e\u4e86\u4e00\u500b clamav-milter.conf \u7684\u8a2d\u5b9a\u6a94 \u4e4b\u524d\u56e0\u70ba\u88dd\u4e86 sendmail + spamassain + clamav \u7b49 port upgrade \u653e\u5165 Clamav 0.95 \u4e4b\u5f8c\u52d5\u624b\u5b89\u88dd compile \u53ca\u5b89\u88dd\u90fd\u4e00\u5207\u90fd\u5f88\u9806\u5229 \u4f46\u91cd\u555f clamav-milter \u6642\u7e3d\u6703\u51fa\u73fe\u4ee5\u4e0b\u7684\u932f\u8aa4\u8a0a\u606f: Waiting for clamd socket.\" \/>\r\n<meta name=\"robots\" content=\"index,follow\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/juan.tw\/?p=274\" \/>\r\n","views":676,"_links":{"self":[{"href":"https:\/\/juan.tw\/index.php?rest_route=\/wp\/v2\/posts\/274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/juan.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/juan.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/juan.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/juan.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=274"}],"version-history":[{"count":1,"href":"https:\/\/juan.tw\/index.php?rest_route=\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/juan.tw\/index.php?rest_route=\/wp\/v2\/posts\/274\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/juan.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/juan.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/juan.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}