{"id":1227,"date":"2024-07-23T22:19:22","date_gmt":"2024-07-23T14:19:22","guid":{"rendered":"https:\/\/www.mailabc.cn\/blog\/?p=1227"},"modified":"2024-07-23T22:19:22","modified_gmt":"2024-07-23T14:19:22","slug":"%e5%bc%80%e6%ba%90%e9%82%ae%e7%ae%b1%e5%a5%97%e4%bb%b6%e4%bb%8b%e7%bb%8d%e7%b3%bb%e5%88%975%ef%bc%9arspamd","status":"publish","type":"post","link":"https:\/\/www.mailabc.cn\/blog\/2024\/07\/23\/%e5%bc%80%e6%ba%90%e9%82%ae%e7%ae%b1%e5%a5%97%e4%bb%b6%e4%bb%8b%e7%bb%8d%e7%b3%bb%e5%88%975%ef%bc%9arspamd\/","title":{"rendered":"\u5f00\u6e90\u90ae\u7bb1\u5957\u4ef6\u4ecb\u7ecd\u7cfb\u52175\uff1aRspamd"},"content":{"rendered":"<h2>1. Rspamd \u9879\u76ee\u4ecb\u7ecd<\/h2>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"https:\/\/www.rspamd.com\/\" rel=\"nofollow noopener\" target=\"_blank\">Rspamd spam filtering system<\/a><\/p>\n<p>Rspamd\u662f\u4e00\u6b3e\u9ad8\u6548\u4e14\u5f00\u6e90\u7684\u53cd\u5783\u573e\u90ae\u4ef6\u7cfb\u7edf\uff0c\u65e8\u5728\u63d0\u4f9b\u5feb\u901f\u3001\u51c6\u786e\u7684\u90ae\u4ef6\u8fc7\u6ee4\u529f\u80fd\u3002Rspamd\u662f\u7528C\u8bed\u8a00\u7f16\u5199\u7684\u8f6f\u4ef6\uff0c\u4f18\u5316\u4e86\u6027\u80fd\uff0c\u786e\u4fdd\u5728\u5904\u7406\u5927\u91cf\u90ae\u4ef6\u65f6\u4ecd\u7136\u4fdd\u6301\u9ad8\u6548\u8fd0\u884c\u3002\u5b83\u662f\u4e00\u6b3e\u5148\u8fdb\u7684\u5783\u573e\u90ae\u4ef6\u8fc7\u6ee4\u7cfb\u7edf\u548c\u7535\u5b50\u90ae\u4ef6\u5904\u7406\u6846\u67b6\uff0c\u901a\u8fc7\u4e00\u7cfb\u5217\u89c4\u5219\u5bf9\u90ae\u4ef6\u8fdb\u884c\u8bc4\u4f30\uff0c\u5305\u62ec\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u7edf\u8ba1\u5206\u6790\u4ee5\u53ca\u81ea\u5b9a\u4e49\u670d\u52a1\uff08\u5982URL\u9ed1\u540d\u5355\uff09\u7b49\u3002Rspamd\u7684\u8bbe\u8ba1\u76ee\u6807\u662f\u4e3a\u90ae\u4ef6\u670d\u52a1\u5668\u63d0\u4f9b\u5f3a\u5927\u7684\u5b89\u5168\u9632\u62a4\uff0c\u6709\u6548\u9632\u6b62\u6076\u610f\u90ae\u4ef6\u8fdb\u5165\u7f51\u7edc\uff0c\u540c\u65f6\u6ee1\u8db3\u4f01\u4e1a\u5bf9\u4e8e\u9ad8\u6548\u90ae\u4ef6\u7ba1\u7406\u7684\u9700\u6c42\u3002<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/07\/2024072314185433.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1234\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/07\/2024072314185433.jpg\"  alt=\"Rspamd Logo\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"343\" class=\"aligncenter size-full wp-image-1234\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/07\/2024072314185433.jpg\" alt=\"Rspamd Logo\" \/><\/a><\/p><\/noscript>\n<h2>2. Rspamd \u529f\u80fd\u7279\u6027<\/h2>\n<h3><strong>2.1 \u9ad8\u6027\u80fd<\/strong><\/h3>\n<p>Rspamd\u901a\u8fc7\u591a\u7ebf\u7a0b\u548c\u4e8b\u4ef6\u9a71\u52a8\u7684\u67b6\u6784\u5b9e\u73b0\u4e86\u9ad8\u6027\u80fd\uff0c\u80fd\u5904\u7406\u6bcf\u79d2\u6570\u767e\u4e2a\u90ae\u4ef6\u8bf7\u6c42\uff0c\u5373\u4f7f\u5728\u9ad8\u8d1f\u8f7d\u4e0b\u4e5f\u80fd\u4fdd\u6301\u7a33\u5b9a\u3002<\/p>\n<h3><strong>2.2 \u7075\u6d3b\u7684\u89c4\u5219\u5f15\u64ce<\/strong><\/h3>\n<p>\u652f\u6301\u591a\u79cd\u89c4\u5219\u5f15\u64ce\uff0c\u5305\u62ecPerl\u517c\u5bb9\u6b63\u5219\u8868\u8fbe\u5f0f(PCRE)\u3001Lua\u811a\u672c\u4ee5\u53ca\u5185\u7f6e\u7684\u89c4\u5219\u8bed\u8a00\u3002\u8fd9\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u81ea\u5b9a\u4e49\u8fc7\u6ee4\u89c4\u5219\uff0c\u4ee5\u9002\u5e94\u7279\u5b9a\u7684\u73af\u5883\u9700\u6c42\u3002<\/p>\n<h3><strong>2.3 \u591a\u7ef4\u5ea6\u8bc4\u4f30<\/strong><\/h3>\n<p>\u5bf9\u90ae\u4ef6\u7684\u8bc4\u4f30\u4e0d\u4ec5\u9650\u4e8e\u6587\u672c\u5185\u5bb9\uff0c\u8fd8\u5305\u62ec\u90ae\u4ef6\u5934\u4fe1\u606f\u3001\u53d1\u4ef6\u4eba\u4fe1\u8a89\u3001DNS\u67e5\u8be2\u7ed3\u679c\u7b49\uff0c\u63d0\u4f9b\u5168\u9762\u7684\u5206\u6790\u3002<\/p>\n<h3><strong>2.4 \u673a\u5668\u5b66\u4e60\u96c6\u6210<\/strong><\/h3>\n<p>\u652f\u6301\u4f7f\u7528Bayesian\u5206\u7c7b\u5668\u548c\u5176\u4ed6\u673a\u5668\u5b66\u4e60\u65b9\u6cd5\uff0c\u81ea\u52a8\u5b66\u4e60\u548c\u6539\u8fdb\u8fc7\u6ee4\u6548\u679c\uff0c\u63d0\u5347\u8bc6\u522b\u51c6\u786e\u6027\u3002<\/p>\n<h3><strong>2.5 \u6a21\u5757\u5316\u8bbe\u8ba1<\/strong><\/h3>\n<p>\u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u542f\u7528\u6216\u7981\u7528\u4e0d\u540c\u7684\u529f\u80fd\u6a21\u5757\uff0c\u5982DKIM\u9a8c\u8bc1\u3001SPF\u68c0\u67e5\u3001URL\u68c0\u6d4b\u7b49\u3002<\/p>\n<h3><strong>2.6 \u5206\u5e03\u5f0f\u7cfb\u7edf<\/strong><\/h3>\n<p>\u652f\u6301\u591a\u8282\u70b9\u96c6\u7fa4\u90e8\u7f72\uff0c\u80fd\u591f\u5c06\u8d1f\u8f7d\u5206\u6563\u5230\u591a\u4e2a\u670d\u52a1\u5668\u4e0a\uff0c\u63d0\u9ad8\u7cfb\u7edf\u7684\u53ef\u7528\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n<h3><strong>2.7 \u4e30\u5bcc\u7684API<\/strong><\/h3>\n<p>\u63d0\u4f9b\u4e86RESTful API\uff0c\u5141\u8bb8\u7b2c\u4e09\u65b9\u5e94\u7528\u4e0e\u4e4b\u4ea4\u4e92\uff0c\u65b9\u4fbf\u96c6\u6210\u5230\u73b0\u6709\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u6216\u670d\u52a1\u4e2d\u3002\u6b64\u5916\uff0cRspamd\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5168\u9762\u7684Lua API\uff0c\u5141\u8bb8\u8bbf\u95ee\u90ae\u4ef6\u5904\u7406\u7684\u5404\u79cd\u65b9\u9762\uff0c\u4ee5\u53ca\u5f02\u6b65\u7f51\u7edcAPI\uff0c\u7528\u4e8e\u8bbf\u95ee\u5916\u90e8\u8d44\u6e90\u5982DNS\u3001HTTP\u7b49\u3002<\/p>\n<h3><strong>2.8 \u5f00\u6e90\u793e\u533a\u652f\u6301<\/strong><\/h3>\n<p>\u4f5c\u4e3a\u5f00\u6e90\u9879\u76ee\uff0cRspamd\u62e5\u6709\u6d3b\u8dc3\u7684\u5f00\u53d1\u793e\u533a\uff0c\u6301\u7eed\u66f4\u65b0\u548c\u7ef4\u62a4\uff0c\u4e0d\u65ad\u4fee\u590d\u95ee\u9898\u5e76\u6dfb\u52a0\u65b0\u529f\u80fd\u3002<\/p>\n<h3><strong>2.9 \u6613\u5b89\u88c5\u914d\u7f6e<\/strong><\/h3>\n<p>\u63d0\u4f9b\u5feb\u901f\u5165\u95e8\u6307\u5357\uff0c\u5e76\u4e3a\u591a\u79cd\u4e3b\u6d41\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u9884\u7f16\u8bd1\u5305\uff0c\u4f7f\u5f97\u5b89\u88c5\u548c\u914d\u7f6e\u53d8\u5f97\u7b80\u5355\u5feb\u6377\u3002<\/p>\n<h3><strong>2.10 \u4e30\u5bcc\u7684\u8fc7\u6ee4\u6a21\u5757<\/strong><\/h3>\n<p>\u5185\u7f6e\u591a\u6837\u5316\u7684\u8fc7\u6ee4\u6a21\u5757\uff0c\u5f00\u7bb1\u5373\u7528\uff0c\u540c\u65f6\u652f\u6301\u81ea\u5b9a\u4e49\u89c4\u5219\u6269\u5c55\uff0c\u6ee1\u8db3\u4e0d\u540c\u7684\u8fc7\u6ee4\u9700\u6c42\u3002<\/p>\n<h2>3. Rspamd \u5b89\u88c5\u90e8\u7f72<\/h2>\n<p>\u5c0f\u7f16\u5c1a\u672a\u81ea\u884c\u90e8\u7f72\u8fc7\uff0c\u540e\u7eed\u6211\u5c06\u62bd\u65f6\u95f4\u90e8\u7f72\u6d4b\u8bd5\u3002\u53ef\u4ee5\u5148\u53c2\u8003\u7ad9\u5916\u6587\u7ae0\uff1a<a href=\"https:\/\/www.myfreax.com\/install-and-integrate-the-rspamd-mail-filter\/\" rel=\"nofollow noopener\" target=\"_blank\">\u5b89\u88c5\u5e76\u96c6\u6210Rspamd\u90ae\u4ef6\u8fc7\u6ee4\u5668 | myfreax<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Rspamd \u9879\u76ee\u4ecb\u7ecd \u9879\u76ee\u7f51\u7ad9\uff1aRspamd spam filtering system Rspamd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1234,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[125],"class_list":["post-1227","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rspamd","tag-rspamd"],"_links":{"self":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/1227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/comments?post=1227"}],"version-history":[{"count":5,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/1227\/revisions"}],"predecessor-version":[{"id":1235,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/1227\/revisions\/1235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media\/1234"}],"wp:attachment":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media?parent=1227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/categories?post=1227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/tags?post=1227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}