{"id":29444,"date":"2022-10-24T23:41:00","date_gmt":"2022-10-24T14:41:00","guid":{"rendered":"https:\/\/ur.edu-connect.net\/?p=29444"},"modified":"2024-02-03T22:46:05","modified_gmt":"2024-02-03T13:46:05","slug":"gmail%e3%81%b8%e3%81%ae%e3%83%a1%e3%83%bc%e3%83%ab%e8%bb%a2%e9%80%81%e3%81%ae%e3%81%9f%e3%82%81%e3%81%abpostsrsd%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/ur.edu-connect.net\/archives\/29444","title":{"rendered":"Gmail\u3078\u306e\u30e1\u30fc\u30eb\u8ee2\u9001\u306e\u305f\u3081\u306bpostsrsd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"\n

\u500b\u4eba\u7528\u30b5\u30fc\u30d0\u306b\u7acb\u3066\u305fPostfix\u3067\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u3092Gmail\u306b\u8ee2\u9001\u3057\u3066Gmail\u3067\u8aad\u3080\uff08\u69d8\u3005\u306a\u5b9b\u5148\u306e\u30e1\u30fc\u30eb\u3092Gmail\u306b\u96c6\u3081\u3066\u8aad\u307f\u305f\u3044\u3001\u3068\u304b\uff09\u3088\u3046\u306a\u30b1\u30fc\u30b9\u306b\u304a\u3044\u3066\u3001\u8ee2\u9001\u306b\u3088\u3063\u3066\u751f\u3058\u308bSPF\u30ec\u30b3\u30fc\u30c9\u306e\u4e0d\u4e00\u81f4\u306e\u305f\u3081\u306b\u3001Gmail\u304c\u8ee2\u9001\u30e1\u30fc\u30eb\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u30da\u30fc\u30b8\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u5834\u5408\u3067\u3059\u3002<\/p>\n\n\n\n

\u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089Gmail\u3078\u8ee2\u9001\u3057\u305f\u30e1\u30fc\u30eb\u304c\u4e0d\u9054\u3068\u306a\u308b\u5834\u5408 https:\/\/help.sakura.ad.jp\/notification\/n-2595\/#04<\/a><\/p>\n\n\n\n

\u4e0d\u9054\u306b\u306a\u3063\u305f\u3068\u304d\u306e\u30a8\u30e9\u30fc\u30e1\u30fc\u30eb\u306f\u9001\u4fe1\u8005\u306b\u8fd4\u308b\u305f\u3081\u3001\u9001\u4fe1\u8005\u304b\u3089\u5225\u306e\u624b\u6bb5\u3067\u4e0d\u9054\u306b\u306a\u3063\u305f\u3053\u3068\u3092\u6559\u3048\u3066\u3082\u3089\u308f\u306a\u3051\u308c\u3070\u3001\u8ee2\u9001\u304c\u5931\u6557\u3057\u305f\u3053\u3068\u306b\u3082\u6c17\u3065\u3051\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u3053\u306e\u554f\u984c\u306b\u5bfe\u3059\u308b\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u3001\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u8ee2\u9001\u3092\u304a\u3053\u306a\u3046\u30b5\u30fc\u30d0\u3067 \u201dEnvelope from\u201d \u3092\u66f8\u304d\u5909\u3048\u308b\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308a\u3001\u3053\u308c\u307e\u3067\u306f\u305d\u306e\u65b9\u6cd5\u3092\u63a1\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

\u30e1\u30fc\u30eb\u8ee2\u9001\uff08\u30a8\u30a4\u30ea\u30a2\u30b9\uff09SPF\u306eSoftFail\u3078\u5bfe\u5fdc\uff5cPostfix https:\/\/rin-ka.net\/postfix-envelope-from\/<\/a><\/p>\n\n\n\n

\u305d\u306e\u5f8c\u3001Postfix\u306b\u306fpostsrsd\u3068\u3044\u3046\u3001SRS\uff08Sender Rewriting Scheme https:\/\/ja.wikipedia.org\/wiki\/\u30bb\u30f3\u30c0\u30fc\u30fb\u30ea\u30e9\u30a4\u30c6\u30a3\u30f3\u30b0\u30fb\u30b9\u30ad\u30fc\u30e0<\/a>\uff09\u3092\u5b9f\u88c5\u3057\u3066\u304f\u308c\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u308a\u3001\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f\u3002SRS\u306b\u5f93\u3048\u3070\u3001\u30a2\u30c9\u30ec\u30b9\u507d\u88c5\u306a\u3069\u306e\u554f\u984c\u3082\u89e3\u6c7a\u3067\u304d\u307e\u3059\uff08\u53c2\u8003\uff1ahttp:\/\/www.open-spf.org\/SRS\/<\/a>\uff09\u3002Ubuntu\u306e\u5834\u5408\u306fapt\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001main.cf\u306b\u8a2d\u5b9a\u3092\u8ffd\u8a18\u3059\u308b\u3060\u3051\u3067\u3059\uff08\u53c2\u7167\uff1ahttps:\/\/github.com\/roehling\/postsrsd<\/a>\uff09\u3002<\/p>\n\n\n\n

\u74b0\u5883\uff1aUbuntu 20.04.5 LTS\u3001Postfix 3.4.13\u3001Postsrsd 1.5-2<\/p>\n\n\n\n

% sudo apt install postsrsd\n% sudo vi \/etc\/postfix\/main.cf\n\n+ sender_canonical_maps = tcp:localhost:10001\n+ sender_canonical_classes = envelope_sender\n+ recipient_canonical_maps = tcp:localhost:10002\n+ recipient_canonical_classes= envelope_recipient,header_recipient\n\n% sudo systemctl enable postsrsd\n% sudo systemctl start postsrsd\n% sudo systemctl reload postfix<\/code><\/pre>\n\n\n\n

\u5b9f\u969b\u306b\u8ee2\u9001\u3055\u308c\u3066\u304d\u305f\u30e1\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n

Received-SPF: pass (google.com: domain of srs0=ro3d=2z=[example.com\uff08\u8ee2\u9001\u524d\u306e\u5b9b\u5148\u30c9\u30e1\u30a4\u30f3\uff09]=[user1\uff08\u30e6\u30fc\u30b6\u540d\uff09]@[example.net\uff08\u8ee2\u9001\u3092\u884c\u3046\u30b5\u30fc\u30d0\u306e\u30c9\u30e1\u30a4\u30f3\uff09] designates xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx;<\/code><\/pre>\n\n\n\n

\u4e0a\u8a18\u306e\u3088\u3046\u306b\u3001\u5b9b\u5148\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30c9\u30e1\u30a4\u30f3\u90e8\u5206\uff08\u3053\u306e\u4f8b\u3067\u306f example.com\uff09\u304c\u3001\u8ee2\u9001\u3092\u304a\u3053\u306a\u3046\u30b5\u30fc\u30d0\u306e\u30c9\u30e1\u30a4\u30f3\uff08example.net\uff09\u306b\u66f8\u304d\u63db\u3048\u3089\u308c\u3066\u3044\u308c\u3070\u3001SPF\u30ec\u30b3\u30fc\u30c9\u306e\u4e0d\u4e00\u81f4\u304c\u304a\u3053\u3089\u305a\u3001SPF\u304cpass\u5224\u5b9a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u500b\u4eba\u7528\u30b5\u30fc\u30d0\u306b\u7acb\u3066\u305fPostfix\u3067\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u3092Gmail\u306b\u8ee2\u9001\u3057\u3066Gmail\u3067\u8aad\u3080\uff08\u69d8\u3005\u306a\u5b9b\u5148\u306e\u30e1\u30fc\u30eb\u3092Gmail\u306b\u96c6\u3081\u3066\u8aad\u307f\u305f\u3044\u3001\u3068\u304b\uff09\u3088\u3046\u306a\u30b1\u30fc\u30b9\u306b\u304a\u3044\u3066\u3001\u8ee2\u9001\u306b\u3088\u3063\u3066\u751f\u3058\u308bSPF\u30ec\u30b3\u30fc\u30c9\u306e\u4e0d\u4e00\u81f4\u306e\u305f\u3081\u306b\u3001Gmail\u304c\u8ee2\u9001\u30e1\u30fc\u30eb\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u30da\u30fc\u30b8\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u5834\u5408\u3067\u3059\u3002 \u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089Gmail\u3078\u8ee2\u9001\u3057\u305f\u30e1\u30fc\u30eb\u304c\u4e0d\u9054\u3068\u306a\u308b\u5834\u5408 https:\/\/help.sakura. […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[75,180,178,179],"class_list":["post-29444","post","type-post","status-publish","format-standard","hentry","category-misc","tag-postfix","tag-postsrsd","tag-sender-policy-framework","tag-sender-rewriting-scheme"],"_links":{"self":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts\/29444"}],"collection":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/comments?post=29444"}],"version-history":[{"count":10,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts\/29444\/revisions"}],"predecessor-version":[{"id":29665,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/posts\/29444\/revisions\/29665"}],"wp:attachment":[{"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/media?parent=29444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/categories?post=29444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ur.edu-connect.net\/wp-json\/wp\/v2\/tags?post=29444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}