{"id":3559,"date":"2014-07-19T23:14:00","date_gmt":"2014-07-19T14:14:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?e=2293"},"modified":"2014-07-19T23:14:00","modified_gmt":"2014-07-19T14:14:00","slug":"blogn-2293","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/?e=2293","title":{"rendered":"\u518d\u9001\u3092\u8981\u6c42\u3059\u308bGreylisting"},"content":{"rendered":"<p>\u524d\u3005\u304b\u3089\u6c17\u306b\u306a\u3063\u3066\u305fGreylisting\u3092\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u5c0e\u5165\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>\u5c0e\u5165\u306b\u3042\u305f\u3063\u3066\u306f\u3044\u308d\u3044\u308d\u60a9\u307f\u3082\u3042\u3063\u305f\u306e\u3060\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u3084\u3063\u3066\u307f\u305f\u3002<\/p>\n<hr \/>\n<p> Greylisting\u3068\u3044\u3046\u306e\u306f\u3001\u5c4a\u3044\u305fE-mail\u306b\u5bfe\u3057\u3066\u3001\u4e00\u65e6\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u518d\u9001\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u8ff7\u60d1\u30e1\u30fc\u30eb\u3092\u6392\u9664\u3057\u3088\u3046\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3060\u3002  <\/p>\n<p>\u307e\u3068\u3082\u306a\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306a\u3089\u3070450\u30a8\u30e9\u30fc\u3092\u51fa\u305b\u3070\u4f55\u5ea6\u304b\u518d\u9001\u3057\u3066\u304f\u308b\u3002<\/p>\n<p>Libserver\u3067\u306f\u518d\u9001\u3092\u7e70\u308a\u8fd4\u3059\u306e\u306f\u6700\u95771\u6642\u9593\u306b\u8a2d\u5b9a\u3057\u3066\u3042\u308b\u3002(<a href=\".\/?e=18\">\u7c98\u308bPostfix\u306b\u6c34\u3084\u308a\u3057\u3066\u3042\u3052\u308b<\/a> )<\/p>\n<p>\u6a19\u6e96\u3060\u30685\u65e5\u9593\u3060\u3051\u3069\u3001\u3055\u3059\u304c\u306b\u305d\u308c\u306fReturn-Mail\u304c\u5c4a\u304f\u307e\u3067\u306b\u304b\u304b\u308b\u6642\u9593\u304c\u9577\u3059\u304e\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3060\u3044\u3076\u3068\u77ed\u304f\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u3067\u3001Greylisting\u3067\u306f\u3001\u6700\u521d\u306e\u9001\u4fe1\u304b\u3089\u4e00\u5b9a\u6642\u9593\u4ee5\u4e0a\u7a7a\u3051\u3066\u518d\u9001\u3057\u3066\u304d\u305f\u5834\u5408\u306b\u9650\u3063\u3066\u53d7\u3051\u53d6\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306b\u306f5\u5206\u4ee5\u4e0a\u9593\u9694\u3092\u7a7a\u3051\u305f\u3089\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u304b\u306a\u3002<\/p>\n<p>\u8ff7\u60d1\u30e1\u30fc\u30eb\u3092\u9001\u308b\u30b7\u30b9\u30c6\u30e0\u306f\u518d\u9001\u305b\u305a\u306b\u5931\u6557\u3068\u3059\u308b\u3082\u306e\u304c\u591a\u3044\u3068\u3044\u3046\u3053\u3068\u304cGreylisting\u306e\u524d\u63d0\u3068\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<hr \/>\n<p> \u3068\u306f\u3044\u3048\u3001Greylisting\u306e\u5c0e\u5165\u306b\u3042\u305f\u3063\u3066\u306f\u60a9\u307f\u3082\u3042\u3063\u305f\u3002  <\/p>\n<p>\u3068\u3044\u3046\u306e\u3082\u3001\u4e00\u65e6\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u518d\u9001\u3055\u305b\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u6700\u4f4e5\u5206\u306e\u9045\u5ef6\u304c\u751f\u3058\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u305d\u3057\u3066Greylisting\u306f\u518d\u9001\u8981\u6c42\u3092\u51fa\u3057\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306e\u60c5\u5831\u3092\u6301\u3064\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u305f\u3081\u306eDB\u304c\u80a5\u5927\u5316\u3059\u308b\u3068\u3044\u3046\u8a71\u3082\u3042\u3063\u305f\u3002<\/p>\n<p>\u7279\u306b\u9045\u5ef6\u3068\u3044\u3046\u306e\u306f\u5927\u304d\u306a\u30c7\u30e1\u30ea\u30c3\u30c8\u3068\u601d\u3046\u306e\u3060\u3051\u3069\u3001\u679c\u305f\u3057\u3066\u305d\u308c\u3067\u672c\u5f53\u306b\u8ff7\u60d1\u30e1\u30fc\u30eb\u304c\u6e1b\u308b\u306e\u3060\u308d\u3046\u304b? <\/p>\n<p>\u30e1\u30ea\u30c3\u30c8\u306b\u898b\u5408\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u304b? \u3068\u3001\u305d\u3046\u3044\u3046\u3053\u3068\u3067\u60a9\u3093\u3067\u3044\u305f\u306e\u3060\u3002<\/p>\n<hr \/>\n<p> \u4eca\u56de\u3001\u5c0e\u5165\u3057\u305f\u65b9\u6cd5\u306f\u3001\u4ee5\u524d\u304b\u3089\u5c0e\u5165\u3057\u3066\u3044\u305f Starpit\u306e\u5f8c\u6bb5\u306bGreylisting\u3092\u4ed8\u52a0\u3057\u305f\u3082\u306e\u3067\u3001taRgrey\u306b\u3042\u305f\u308b\u306e\u304b\u306a\u3002  <\/p>\n<p><a href=\"http:\/\/k2net.hakuba.jp\/targrey\/\">taRgrey &#8211; S25R + tarpitting + greylisting (tarpit + greylist policy server)<\/a><\/p>\n<p>\u3053\u308c\u307e\u3067\u306f\u3001S25R\u306e\u6761\u4ef6\u3067\u52d5\u7684IP\u3063\u307d\u3044\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u3001\u4e00\u5b9a\u6642\u9593\u306e\u9045\u5ef6\u3092\u304b\u3051\u3066\u3044\u305f\u3002<\/p>\n<p>\u8ff7\u60d1\u30e1\u30fc\u30eb\u3092\u9001\u308b\u30b5\u30fc\u30d0\u30fc\u306e\u4e2d\u306b\u306fRFC\u3067\u5b9a\u3081\u3089\u308c\u3066\u308b\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e5\u5206\u4ee5\u524d\u306b\u5207\u65ad\u3057\u3066\u3057\u307e\u3046\u3082\u306e\u304c\u591a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3001<\/p>\n<p>\u4e00\u5b9a\u6642\u9593\u306e\u9045\u5ef6\u3092\u304b\u3051\u308c\u3070\u3042\u308b\u7a0b\u5ea6\u8ff7\u60d1\u30e1\u30fc\u30eb\u3092\u6392\u9664\u3067\u304d\u308b\u3068\u3002\u526f\u4f5c\u7528\u3082\u5c11\u306a\u3044\u306e\u3067\u5c0e\u5165\u3057\u3084\u3059\u304b\u3063\u305f\u3002<\/p>\n<p><a href=\".\/?e=1114\">\u30b9\u30d1\u30e0\u9001\u4fe1\u8005\u306f\u3044\u3089\u3061\u3060\u304b\u3089\u5f85\u305f\u305b\u308c\u3070\u8ae6\u3081\u308b<\/a><\/p>\n<p>\u3053\u306e\u5f8c\u306b\u3055\u3089\u306bGreylisting\u3092\u884c\u3046\u3002\u3059\u306a\u308f\u3061\u4e00\u65e6450\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u518d\u9001\u3055\u305b\u308b\u308f\u3051\u3060\u3002<\/p>\n<p>taRgrey\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u3092\u898b\u308b\u3068\u3001\u9045\u5ef6\u3068Greylisting\u3092\u4e8c\u91cd\u3067\u4f7f\u3046\u3053\u3068\u3067\u8ff7\u60d1\u30e1\u30fc\u30eb\u306e\u901a\u904e\u7387\u304c\u534a\u5206\u3050\u3089\u3044\u306b\u306a\u308b\u3088\u3046\u306d\u3002<\/p>\n<p>\u9045\u5ef6\u3092\u901a\u308a\u629c\u3051\u3089\u308c\u305f\u5206\u306b\u3060\u3051Greylisting\u3092\u304b\u3051\u308b\u306e\u3067\u3001DB\u3078\u306e\u8ca0\u8377\u3082\u591a\u5c11\u8efd\u6e1b\u3067\u304d\u308b\u306e\u304b\u306a?<\/p>\n<hr \/>\n<p>\u3069\u308c\u3050\u3089\u3044\u306e\u52b9\u679c\u304c\u898b\u8fbc\u3081\u308b\u306e\u3060\u308d\u3046\u304b\u3068\u601d\u3044\u3001S25R\u306e\u6761\u4ef6\u306b\u3042\u3066\u306f\u307e\u308bE-mail\u304c\u3069\u308c\u3050\u3089\u3044\u5c4a\u3044\u3066\u3044\u308b\u306e\u304b\u8abf\u67fb\u3057\u305f\u3002<\/p>\n<pre class=\"csharpcode\">\/^[^\\.]*[0-9][^0-9\\.]+[0-9]\/                    PREPEND X-S25R: true<\/pre>\n<p>\u3068\u304b\u3001S25R\u306b\u3042\u3066\u306f\u307e\u308bE-mail\u306b\u30bf\u30b0\u3092\u4ed8\u3051\u3066\u3001\u5c4a\u3044\u305f\u30e1\u30fc\u30eb\u3092\u89b3\u5bdf\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>\u305d\u306e\u7d50\u679c\u3001\u8ff7\u60d1\u30e1\u30fc\u30eb\u4ee5\u5916\u3067S25R\u306e\u6761\u4ef6\u306b\u5408\u3046\u3082\u306e\u306f\u304b\u306a\u308a\u5c11\u306a\u304f\u3001\u9045\u5ef6\u306e\u5f71\u97ff\u304c\u554f\u984c\u3068\u306a\u308bE-mail\u306f\u5c11\u306a\u3044\u3060\u308d\u3046\u3068\u3002<\/p>\n<p>\u4e00\u65b9\u3001\u8ff7\u60d1\u30e1\u30fc\u30eb\u3060\u304c\u3001S25R\u306e\u6761\u4ef6\u306b\u5408\u3046\u3082\u306e\u3082\u5408\u308f\u306a\u3044\u3082\u306e\u3082\u3042\u308b\u3002<\/p>\n<p>\u56fa\u5b9aIP\u3063\u307d\u3044\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u3068\u306a\u308b\u3068\u304a\u624b\u4e0a\u3052\u3060\u3002\u3053\u308c\u306f\u3044\u3061\u3044\u3061\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u5165\u308c\u3066\u3044\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>\u3051\u3069\u3001\u4e00\u5b9a\u3001S25R\u306b\u3072\u3063\u304b\u304b\u308b\u3082\u306e\u304c\u3042\u308b\u306e\u306f\u4e8b\u5b9f\u306a\u306e\u3067\u3084\u3063\u3066\u307f\u308b\u4fa1\u5024\u306f\u3042\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3067Greylisting\u306e\u5c0e\u5165\u306b\u8e0f\u307f\u5207\u3063\u305f\u3002<\/p>\n<hr \/>\n<p>\u307e\u305a\u3001yum\u3067postgrey\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\/etc\/rc.d\/init.d\/postgrey \u3092\u3044\u3058\u3063\u3066\u3001postfix\u3068\u306e\u63a5\u7d9a\u65b9\u6cd5\u3092\u66f8\u304d\u63db\u3048\u308b\u3002<\/p>\n<pre class=\"csharpcode\">OPTIONS=<span class=\"str\">\"--inet=10023\"<\/span><\/pre>\n<p>\u305d\u308c\u3067postfix\u306emain.cf\u306b\u3001<\/p>\n<pre class=\"csharpcode\">smtpd_restriction_classes = check_greylist\ncheck_greylist = check_policy_service inet:127.0.0.1:10023<\/pre>\n<p>\u3068\u66f8\u304d\u52a0\u3048\u308b\u3002<\/p>\n<p>\u5168E-mail\u306bGreylisting\u3092\u9069\u7528\u3059\u308b\u5834\u5408\u306fsmtpd_recipient_restrictions\u306bcheck_policy_service\u3092\u66f8\u3051\u3070\u3088\u3044\u3002<\/p>\n<p>postgrey\u81ea\u8eab\u3082\u30db\u30ef\u30a4\u30c8\u30ea\u30b9\u30c8\u3092\u6301\u3063\u3066\u3044\u3066\u3001Greylisting\u5358\u72ec\u3067\u3046\u307e\u304f\u4f7f\u3046\u65b9\u6cd5\u3082\u3042\u308b\u3002\u3068\u3044\u3046\u304b\u305d\u3063\u3061\u306e\u65b9\u304c\u4e00\u822c\u7684\u3060\u3002<\/p>\n<p>\u305f\u3060\u3001\u4eca\u56de\u306f\u30d5\u30a3\u30eb\u30bf\u306b\u3072\u3063\u304b\u304b\u3063\u305fE-mail\u3060\u3051\u306bGreylisting\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u65b0\u3057\u304f check_greylist \u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u305d\u306e\u4e0a\u3067\u3001grey_client\u3068\u304b\u4f5c\u3063\u3066\u3001<\/p>\n<pre class=\"csharpcode\">\/^[^\\.]*[0-9][^0-9\\.]+[0-9]\/                    check_greylist<\/pre>\n<p>\u3068\u304b\u3057\u3066\u3001main.cf\u306b\u3001<\/p>\n<pre>smtpd_recipient_restrictions = ... ,\n  check_client_access regexp:\/etc\/postfix\/tarpit_client,\n  check_client_access regexp:\/etc\/postfix\/grey_client<\/pre>\n<p>\u3068\u8a2d\u5b9a\u3057\u305f\u3002<\/p>\n<hr \/>\n<p>\u305d\u308c\u3067\u52b9\u679c\u306f\u3069\u3093\u306a\u3082\u3093\u306a\u306e\u3068\u3044\u3046\u8a71\u3060\u304c\u3001\u78ba\u304b\u306b\u8ff7\u60d1\u30e1\u30fc\u30eb\u306f\u6fc0\u6e1b\u3057\u305f\u3002<\/p>\n<p>\u305f\u3060\u3001Greylisting\u3067\u5f3e\u3051\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u8ff7\u60d1\u30e1\u30fc\u30eb\u306e\u5927\u534a\u306f\u3053\u308c\u307e\u3067SPF\u3067\u81ea\u52d5\u7684\u306b\u8ff7\u60d1\u30e1\u30fc\u30eb\u306b\u5206\u985e\u3067\u304d\u3066\u3044\u305f\u3082\u306e\u3060\u3002<\/p>\n<p>SPF\u3067\u3082\u5f3e\u3051\u306a\u304f\u3066\u3001Greylisting\u3067\u65b0\u3057\u304f\u5f3e\u3051\u308b\u3088\u3046\u306b\u306a\u3063\u305fE-mail\u306f\u3069\u308c\u3050\u3089\u3044\u3042\u308b\u3093\u3060\u308d\u3002<\/p>\n<p>Greylisting\u306e\u5bfe\u8c61\u306b\u306a\u3063\u305f\u3082\u306e\u306e\u3001Greylisting\u3092\u901a\u308a\u629c\u3051\u305fE-mail\u3082\u3042\u308b\u306e\u3082\u4e8b\u5b9f\u3060\u3057\u3001\u305d\u3046\u306a\u308b\u3068\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u4ee5\u5916\u306b\u5bfe\u51e6\u6cd5\u304c\u306a\u3044\u308f\u306a\u3002<\/p>\n<p>\u305d\u308c\u3068S25R\u306b\u5f15\u3063\u304b\u304b\u3089\u306a\u3044\u3082\u306e\u306f\u5f53\u7136\u3053\u308c\u307e\u3067\u3068\u5909\u308f\u3089\u306a\u3044\u3002<\/p>\n<p>\u305d\u3053\u306f\u6839\u6c17\u3088\u304f\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u3067\u57cb\u3081\u3066\u3044\u304f\u3057\u304b\u306a\u3044\u3002\u53b3\u3057\u3044\u6226\u3044\u3060\u3002<\/p>\n<hr \/>\n<p>\u305d\u3093\u306a\u308f\u3051\u3060\u304b\u3089\u624b\u5fdc\u3048\u304c\u611f\u3058\u3089\u308c\u305f\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3060\u304c\u3001\u6709\u52b9\u306a\u65b9\u6cd5\u3067\u306f\u3042\u308b\u3068\u601d\u3046\u3002<\/p>\n<p>\u9045\u5ef6\u306e\u554f\u984c\u306a\u3069\u3001\u305d\u3053\u305d\u3053\u30c7\u30e1\u30ea\u30c3\u30c8\u306f\u3042\u308b\u306e\u3067\u3001\u5bfe\u8c61\u3092\u7d5e\u308a\u8fbc\u3093\u3067\u3001\u602a\u3057\u3044\u3082\u306e\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u3068\u3088\u3044\u3060\u308d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u3005\u304b\u3089\u6c17\u306b\u306a\u3063\u3066\u305fGreylisting\u3092\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u5c0e\u5165\u3057\u3066\u307f\u305f\u3002 \u5c0e\u5165\u306b\u3042\u305f\u3063\u3066\u306f\u3044\u308d\u3044\u308d\u60a9\u307f\u3082\u3042\u3063\u305f\u306e\u3060\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u3084\u3063\u3066\u307f\u305f\u3002 Greylisting\u3068\u3044\u3046\u306e\u306f\u3001\u5c4a\u3044\u305fE-mail\u306b\u5bfe\u3057\u3066\u3001\u4e00\u65e6\u30a8\u30e9\u30fc\u3092\u51fa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3559","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/3559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3559"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/3559\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}