{"id":883,"date":"2008-11-05T03:41:00","date_gmt":"2008-11-04T18:41:00","guid":{"rendered":"http:\/\/tec.jpn.ph\/wordpress\/?p=883"},"modified":"2009-06-08T07:45:24","modified_gmt":"2009-06-07T22:45:24","slug":"qmail%e3%81%aereceived%e3%83%98%e3%83%83%e3%83%80%e3%81%8crfc%e9%81%95%e5%8f%8d%e3%81%ab","status":"publish","type":"post","link":"http:\/\/tec-jpn.net\/wordpress\/?p=883","title":{"rendered":"qmail\u306eReceived\u30d8\u30c3\u30c0\u304cRFC\u9055\u53cd\u306b?"},"content":{"rendered":"<p>qmail\u306e\u4ed8\u3051\u308bReceived\u30d8\u30c3\u30c0\u304c\u5947\u5999\u3067\u3042\u308b\u3053\u3068\u306f\u3001\u53d7\u3051\u53d6\u3063\u305f\u30e1\u30fc\u30eb\u306e\u30d8\u30c3\u30c0\u3092\u3058\u3063\u304f\u308a\u3068\u773a\u3081\u305f\u3053\u3068\u306e\u3042\u308b\u65b9\u306a\u3089\u3054\u5b58\u3058\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u3053\u308c\u304cRFC\u9055\u53cd\u304b\u3068\u3044\u3046\u70b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u4e00\u5fdc\u305d\u3046\u3067\u306f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/homepages.tesco.net\/J.deBoynePollard\/FGA\/qmail-myths-dispelled.html#MythAboutQQReceivedHeaders\">The myth about qmail-queue&#8217;s Received: headers being non-standard<\/a><\/p>\n<p>\u3068\u3053\u308d\u304c\u3001\u3053\u306e\u305f\u3073SMTP\u306e\u898f\u683c\u304cRFC <a href=\"http:\/\/www.rfc-editor.org\/rfc\/rfc2821.txt\">2821<\/a>\u30fb<a href=\"http:\/\/www.rfc-editor.org\/rfc\/rfc2822.txt\">2822<\/a>\u304b\u3089RFC <a href=\"http:\/\/www.rfc-editor.org\/rfc\/rfc5321.txt\">5321<\/a>\u30fb<a href=\"http:\/\/www.rfc-editor.org\/rfc\/rfc5322.txt\">5322<\/a>\u3078\u3068<a href=\"http:\/\/oku.edu.mie-u.ac.jp\/~okumura\/blog\/node\/2277\">\u6539\u6b63\u3055\u308c\u307e\u3057\u305f<\/a>\u3002\u306a\u306b\u3076\u3093\u9577\u5927\u306a\u898f\u683c\u3067\u3059\u306e\u3067\u659c\u3081\u8aad\u307f\u3067\u3059\u304c\u3001\u3069\u3046\u3082\u3053\u306e\u6539\u6b63\u5f8c\u306e\u898f\u683c\u3067\u306f\u3001Received\u30d8\u30c3\u30c0\u306e\u898f\u5247\u304c\u53b3\u3057\u304f\u306a\u3063\u305f\u3088\u3046\u3067\u3001\u4f8b\u3048\u3070\u6b21\u306e\u3088\u3046\u306a(\u304a\u305d\u3089\u304fqmail\u7279\u6709\u306e)Received\u30d8\u30c3\u30c0\u306fRFC\u9055\u53cd(\u975e\u6e96\u62e0)\u3068\u306a\u3063\u305f\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\n<p><code>Received: (qmail 42078 invoked by uid 1004); 4 Nov 2008 21:10:19 +0900<\/code><\/p>\n<p>\u53c2\u8003\u307e\u3067\u306b\u3001RFC 5321\u30fb5322\u8a18\u8f09\u306eReceived\u30d8\u30c3\u30c0\u95a2\u9023\u306eBNF\u3092\u5f15\u7528\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre>   Time-stamp-line  = \"Received:\" FWS Stamp \r\n\r\n   Stamp          = From-domain By-domain Opt-info [CFWS] \";\"\r\n                  FWS date-time\r\n                  ; where \"date-time\" is as defined in RFC 5322 [4]\r\n                  ; but the \"obs-\" forms, especially two-digit\r\n                  ; years, are prohibited in SMTP and MUST NOT be used.\r\n\r\n   From-domain    = \"FROM\" FWS Extended-Domain\r\n\r\n   By-domain      = CFWS \"BY\" FWS Extended-Domain\r\n\r\n   Extended-Domain  = Domain \/\r\n                    ( Domain FWS \"(\" TCP-info \")\" ) \/\r\n                    ( address-literal FWS \"(\" TCP-info \")\" )\r\n\r\n   TCP-info       = address-literal \/ ( Domain FWS address-literal )\r\n                  ; Information derived by server from TCP connection\r\n                  ; not client EHLO.<\/pre>\n<pre>   FWS             =   ([*WSP CRLF] 1*WSP) \/  obs-FWS\r\n                                          ; Folding white space\r\n\r\n   ctext           =   %d33-39 \/          ; Printable US-ASCII\r\n                       %d42-91 \/          ;  characters not including\r\n                       %d93-126 \/         ;  \"(\", \")\", or \"\\\"\r\n                       obs-ctext\r\n\r\n   ccontent        =   ctext \/ quoted-pair \/ comment\r\n\r\n   comment         =   \"(\" *([FWS] ccontent) [FWS] \")\"\r\n\r\n   CFWS            =   (1*([FWS] comment) [FWS]) \/ FWS<\/pre>\n<pre>   obs-FWS         =   1*WSP *(CRLF 1*WSP)<\/pre>\n<pre>   domain          =   dot-atom \/ domain-literal \/ obs-domain\r\n\r\n   domain-literal  =   [CFWS] \"[\" *([FWS] dtext) [FWS] \"]\" [CFWS]\r\n\r\n   dtext           =   %d33-90 \/          ; Printable US-ASCII\r\n                       %d94-126 \/         ;  characters not including\r\n                       obs-dtext          ;  \"[\", \"]\", or \"\\\"<\/pre>\n<pre>   address-literal  = \"[\" ( IPv4-address-literal \/\r\n                    IPv6-address-literal \/\r\n                    General-address-literal ) \"]\"<\/pre>\n<pre>   IPv4-address-literal  = Snum 3(\".\"  Snum)\r\n\r\n   IPv6-address-literal  = \"IPv6:\" IPv6-addr\r\n\r\n   General-address-literal  = Standardized-tag \":\" 1*dcontent\r\n\r\n   Standardized-tag  = Ldh-str\r\n                     ; Standardized-tag MUST be specified in a\r\n                     ; Standards-Track RFC and registered with IANA\r\n\r\n   dcontent       = %d33-90 \/ ; Printable US-ASCII\r\n                  %d94-126 ; excl. \"[\", \"\\\", \"]\"\r\n\r\n   Snum           = 1*3DIGIT\r\n                  ; representing a decimal integer\r\n                  ; value in the range 0 through 255\r\n\r\n   IPv6-addr      = IPv6-full \/ IPv6-comp \/ IPv6v4-full \/ IPv6v4-comp\r\n\r\n   IPv6-hex       = 1*4HEXDIG\r\n\r\n   IPv6-full      = IPv6-hex 7(\":\" IPv6-hex)\r\n\r\n   IPv6-comp      = [IPv6-hex *5(\":\" IPv6-hex)] \"::\"\r\n                  [IPv6-hex *5(\":\" IPv6-hex)]\r\n                  ; The \"::\" represents at least 2 16-bit groups of\r\n                  ; zeros.  No more than 6 groups in addition to the\r\n                  ; \"::\" may be present.\r\n\r\n   IPv6v4-full    = IPv6-hex 5(\":\" IPv6-hex) \":\" IPv4-address-literal\r\n\r\n   IPv6v4-comp    = [IPv6-hex *3(\":\" IPv6-hex)] \"::\"\r\n                  [IPv6-hex *3(\":\" IPv6-hex) \":\"]\r\n                  IPv4-address-literal\r\n                  ; The \"::\" represents at least 2 16-bit groups of\r\n                  ; zeros.  No more than 4 groups in addition to the\r\n                  ; \"::\" and IPv4-address-literal may be present.<\/pre>\n<pre>   atext           =   ALPHA \/ DIGIT \/    ; Printable US-ASCII\r\n                       \"!\" \/ \"#\" \/        ;  characters not including\r\n                       \"$\" \/ \"%\" \/        ;  specials.  Used for atoms.\r\n                       \"&amp;\" \/ \"'\" \/\r\n                       \"*\" \/ \"+\" \/\r\n                       \"-\" \/ \"\/\" \/\r\n                       \"=\" \/ \"?\" \/\r\n                       \"^\" \/ \"_\" \/\r\n                       \"`\" \/ \"{\" \/\r\n                       \"|\" \/ \"}\" \/\r\n                       \"~\"\r\n\r\n   atom            =   [CFWS] 1*atext [CFWS]\r\n\r\n   dot-atom-text   =   1*atext *(\".\" 1*atext)\r\n\r\n   dot-atom        =   [CFWS] dot-atom-text [CFWS]<\/pre>\n<p>\u3064\u307e\u308a\u3001Received: \u306e\u3042\u3068\u306e\u300cFROM \uff5e\u300d\u300cBY \uff5e\u300d\u306e\u8a18\u8ff0\u306f\u3059\u3079\u3066\u5fc5\u9808\u306b\u306a\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u3053\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3082\u3042\u308a\u307e\u3059(RFC 5322 4.)\u3002<\/p>\n<blockquote><p>One important difference between the obsolete (interpreting) and the<br \/>\ncurrent (generating) syntax is that in structured header field bodies<br \/>\n(i.e., between the colon and the CRLF of any structured header<br \/>\nfield), white space characters, including folding white space, and<br \/>\ncomments could be freely inserted between any syntactic tokens.  This<br \/>\nallowed many complex forms that have proven difficult for some<br \/>\nimplementations to parse.<\/p><\/blockquote>\n<p>\u3064\u307e\u308a\u3001\u6539\u6b63\u5f8c\u306f\u30b9\u30da\u30fc\u30b9\u3084\u30b3\u30e1\u30f3\u30c8\u306e\u5165\u308c\u65b9\u304c\u5236\u9650\u7684\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u308c\u306b\u3088\u308a\u3001CFWS\u3068\u66f8\u304b\u308c\u3066\u3044\u306a\u3044\u5834\u6240(\u4f8b\u3048\u3070Received: \u306e\u76f4\u5f8c)\u306b\u3001\u30ab\u30c3\u30b3\u3067\u62ec\u3063\u3066\u4efb\u610f\u306e\u6587\u5b57\u5217(\u4f8b\u3048\u3070\u300c<code>(qmail 42078 invoked by uid 1004)\u300d\u3092\u633f\u5165\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u8ffd\u8a18: <a href=\"http:\/\/ya.maya.st\/mail\/qmail-violations.html\">qmail \u306e RFC \u9055\u53cd<\/a><br \/>\n\u4eca\u56de\u306e\u8a71\u3068\u76f4\u63a5\u306e\u95a2\u4fc2\u306f\u306a\u3044\u3051\u308c\u3069\u3002<\/p>\n<p>\u8ffd\u8a182:<br \/>\nqmail\u306b\u898b\u3089\u308c\u308b<\/p>\n<p><\/code><code>Received: from unknown (HELO vc3.example.jp) (210.233.64.45)<br \/>\nby mail.example.jp with SMTP; 4 Nov 2008 21:10:18 +0900<\/code><\/p>\n<p>\u306e\u3088\u3046\u306a\u30d8\u30c3\u30c0\u306f\u3001\u65b0\u3057\u3044RFC\u306e\u63a8\u5968\u4e8b\u9805\u306b\u5f93\u3046\u306a\u3089\u3070<\/p>\n<p><code>Received: from vc3.example.jp ([210.233.64.45])<br \/>\nby mail.example.jp with SMTP; 4 Nov 2008 21:10:18 +0900<\/code><\/p>\n<p>\u3068\u8868\u308f\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u304c\u3001by\uff5e\u306e\u524d\u306b\u306f\u30b3\u30e1\u30f3\u30c8\u304c\u8a8d\u3081\u3089\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u524d\u8005\u3082RFC\u9055\u53cd\u3068\u307e\u3067\u306f\u8a00\u3048\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>qmail\u306e\u4ed8\u3051\u308bReceived\u30d8\u30c3\u30c0\u304c\u5947\u5999\u3067\u3042\u308b\u3053\u3068\u306f\u3001\u53d7\u3051\u53d6\u3063\u305f\u30e1\u30fc\u30eb\u306e\u30d8\u30c3\u30c0\u3092\u3058\u3063\u304f\u308a\u3068\u773a\u3081\u305f\u3053\u3068\u306e\u3042\u308b\u65b9\u306a\u3089\u3054\u5b58\u3058\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u3053\u308c\u304cRFC\u9055\u53cd\u304b\u3068\u3044\u3046\u70b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-883","post","type-post","status-publish","format-standard","hentry","category-6"],"_links":{"self":[{"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=883"}],"version-history":[{"count":0,"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/883\/revisions"}],"wp:attachment":[{"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=883"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tec-jpn.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}