{"id":9705,"date":"2024-09-03T15:38:13","date_gmt":"2024-09-03T06:38:13","guid":{"rendered":"https:\/\/www.k-in.co.jp\/niwakan\/?p=9705"},"modified":"2024-09-03T16:39:58","modified_gmt":"2024-09-03T07:39:58","slug":"mail-server%e3%81%ae%e7%a7%bb%e8%a1%8c%ef%bc%88%e3%81%9d%e3%81%ae38%ef%bc%89postfix%e3%80%81dovecot%e3%81%ae%e5%86%8d%e6%a7%8b%e7%af%89","status":"publish","type":"post","link":"https:\/\/www.k-in.co.jp\/niwakan\/archives\/2024\/09\/9705\/","title":{"rendered":"mail server\u306e\u79fb\u884c\uff08\u305d\u306e38\uff09Postfix\u3001Dovecot\u306e\u518d\u69cb\u7bc9"},"content":{"rendered":"<p>\u3061\u3063\u3068\u3082\u5148\u306b\u9032\u307e\u3093\u3002<br \/>\n\u307e\u3041\u3001\u89e6\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u304b\u3089\u4ed5\u65b9\u304c\u306a\u3044\u3002<\/p>\n<p>\u73fe\u5728\u3001\u30eb\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u3092\u5f04\u3063\u3066\u3001\u5916\u304b\u3089\u30e1\u30fc\u30eb\u7d61\u307f\u306e\u30dd\u30fc\u30c8\u306f\u5168\u3066\u9589\u3058\u3066\u3044\u308b\u3002<br \/>\n\u4f55\u6642\u8fc4\u3082\u9589\u3058\u3063\u653e\u3057\u306f\u8f9b\u3044\u3002<br \/>\n<!--more--><\/p>\n<p>\u3068\u8a00\u3046\u3053\u3068\u3067\u3001\u521d\u3081\u304b\u3089\u898b\u76f4\u3057\u3066\u3044\u308b\u3002<br \/>\nPostfix\u304c\u7acb\u3061\u4e0a\u304c\u308a\u3001\u30e1\u30fc\u30eb\u3092\u4fdd\u5b58\u3067\u304d\u308b\u3053\u3068\u3092\u76ee\u6307\u3059\u3002<br \/>\n\u521d\u3081\u306b\u3001\u30e1\u30fc\u30eb\u7d61\u307f\uff08\u3068\u3044\u3046\u304b\u30c7\u30fc\u30bf\u3060\u306a\uff09\u3092\u5168\u90e8\u3001\u5916\u4ed8\u3051\u306e\u30c9\u30e9\u30a4\u30d6\u306b\u6301\u3063\u3066\u884c\u304f\u306e\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u305f\u3002<br \/>\n\u306a\u306e\u3067\u3001<strong>queue_directory<\/strong>\u3082\u5916\u4ed8\u3051\u306b\u5411\u3051\u3066\u304a\u3044\u305f\u3002<br \/>\n\u305d\u3046\u3057\u305f\u3089\u3001launchctl unload\u3067<strong>master<\/strong>\u304c\u6b62\u307e\u3089\u306a\u304f\u306a\u3063\u305f\u3002<br \/>\n\u3088\u304f\u898b\u308b\u3068\u3001<strong>pid file<\/strong>\u306e\u4fdd\u7ba1\u5834\u6240\u306flaunch\u6642\u306b<strong>plist\u3067\u8a2d\u5b9a<\/strong>\u3057\u3066\u3044\u3066\u5909\u3048\u3066\u306f\u3044\u3051\u306a\u3044\u3089\u3057\u3044\u3002\uff08\u82e5\u3057\u304f\u306f\u305d\u3061\u3089\u3082\u66f8\u304d\u63db\u3048\u308b\uff09<br \/>\n\u5168\u304f\u6301\u3063\u3066main.cf\u306e\u5185\u5bb9\u304b\u3089\u898b\u51fa\u3057\u3066\u3044\u308b\u3082\u306e\u3060\u3068\u4fe1\u3058\u3066\u3044\u305f\u306e\u3067\u3042\u3063\u305f\u3002<br \/>\n\u5148\u5165\u89b3\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>\u4e00\u5148\u305a\u3001\u305d\u3053\u306e\u90e8\u5206\u306f\u9032\u3093\u3060\u3002<br \/>\n\u3061\u3083\u3093\u3068master\u306f\u7d42\u4e86\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u672a\u3060\u30e1\u30fc\u30eb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u63a5\u7d9a\u306f\u3067\u304d\u3066\u3044\u306a\u3044\u3002<br \/>\n\u5148\u306f\u9577\u3044\u2026\u2026\u3002<\/p>\n<p>\u4eca\u307e\u3067\u7121\u304b\u3063\u305fdebug.log\u306b\u66f8\u304d\u8fbc\u307f\u304c\u3042\u3063\u305f\u3002<br \/>\n\u5168\u3066postfix.log\u306b\u51fa\u3066\u3044\u305f\u306e\u3067\u3042\u308b\u3002<br \/>\n\u3068\u8a00\u3046\u304b\u3001\u305d\u3053\u306b\u3057\u304b\u51fa\u306a\u3044\u3002<br \/>\n\u8a2d\u5b9a\u3092\u9593\u9055\u3048\u3066\u3044\u308b\u306e\u306f\u5224\u308b\u304c\u3001\u539f\u56e0\u3092\u63a2\u3059\u306e\u3092\u9762\u5012\u81ed\u304c\u3063\u3066\u3044\u308b\u3060\u3051\u3067\u3042\u308b\u3002<br \/>\n\u307e\u3041\u3001\u305d\u308c\u306f\u514e\u3082\u89d2\u3001debug.log\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u3088\u3046\u3002<br \/>\n<code>spamd: error: failed to obtain port and ip from socket at \/opt\/local\/libexec\/perl5.34\/spamd line 1683.<\/code><br \/>\n\u3046\u3093\u3001\u9055\u3063\u305f\u3002spamd\u3060\u3063\u305f\u3002<br \/>\nspamd\u306fpostfix\u304c\u300cfilter\u304c\u7121\u3044\u3088\u300d\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3059\u306e\u3067\u4ed8\u3051\u52a0\u3048\u305f\u306e\u3060\u3063\u305f\u3002<br \/>\n\u305d\u3046\u3057\u305f\u3089\u3001\u305d\u3063\u3061\u304c\u30b3\u30b1\u3066\u308b\u3002\u610f\u5473\u306a\u3044\u3058\u3083\u3093\u3002<\/p>\n<p><a href=\"https:\/\/www.mail-archive.com\/users@spamassassin.apache.org\/msg104235.html\">Spamd error message &#8220;failed to obtain port and ip from socket&#8221;<\/a>\u306a\u3093\u3066\u8cea\u554f\u304c\u4e0a\u304c\u3063\u3066\u3044\u3066\u3001\u6700\u5f8c\u306b\u300cperl\u306esocket\u304c\u306a\u3044\u3093\u3058\u3083\u306a\u3044\uff1f\u300d\u3068\u3042\u3063\u305f\u306e\u3067port search\u3067\u63a2\u3057\u3066\u307f\u305f\u3089\u3001<br \/>\n<strong><code>p5-socket @2.38.0 (perl)<br \/>\nSocket - networking constants and support functions<\/code><\/strong><br \/>\n\u306a\u3093\u3066\u8a00\u3046\u306e\u304c\u3042\u3063\u305f\u304b\u3089\u3001\u53d6\u308a\u6562\u3048\u305a\u5165\u308c\u3066\u307f\u305f\u3089\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u304f\u306a\u3063\u305f\u3002<br \/>\n\u3081\u3067\u305f\u3057\u3001\u3081\u3067\u305f\u3057\uff1f<\/p>\n<p>\u3060\u304c\u3057\u304b\u3057\u3001\u672a\u3060\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u3066\u3044\u306a\u3044\u2026\u2026\u3002<br \/>\n\u3060\u3051\u3069\u3001\u5c11\u3057\u3065\u3064\u8ab0\u304c\u4f55\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u304b\u7406\u89e3\u306f\u3067\u304d\u3066\u304d\u305f\u3002\uff08\u3068\u601d\u3044\u305f\u3044\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3061\u3063\u3068\u3082\u5148\u306b\u9032\u307e\u3093\u3002 \u307e\u3041\u3001\u89e6\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u304b\u3089\u4ed5\u65b9\u304c\u306a\u3044\u3002 \u73fe\u5728\u3001\u30eb\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u3092\u5f04\u3063\u3066\u3001\u5916\u304b\u3089\u30e1\u30fc\u30eb\u7d61\u307f\u306e\u30dd\u30fc\u30c8\u306f\u5168\u3066\u9589\u3058\u3066\u3044\u308b\u3002 \u4f55\u6642\u8fc4\u3082\u9589\u3058\u3063\u653e\u3057\u306f\u8f9b\u3044\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[115],"tags":[177,176,175,148],"class_list":["post-9705","post","type-post","status-publish","format-standard","hentry","category-software","tag-dovecot","tag-mail","tag-postfix","tag-server"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/posts\/9705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/comments?post=9705"}],"version-history":[{"count":0,"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/posts\/9705\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/media?parent=9705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/categories?post=9705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.k-in.co.jp\/niwakan\/wp-json\/wp\/v2\/tags?post=9705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}