{"id":2052,"date":"2021-01-14T16:39:30","date_gmt":"2021-01-14T07:39:30","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=2052"},"modified":"2024-01-02T05:06:51","modified_gmt":"2024-01-01T20:06:51","slug":"3%ef%bc%9a%e8%a8%ad%e5%ae%9a%e6%99%82%e3%81%ab%e8%ba%93%e3%81%84%e3%81%9f%e3%81%93%e3%81%a8","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=2052","title":{"rendered":"3\uff1apostfixadmin\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a"},"content":{"rendered":"<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f<a href=\"https:\/\/sourceforge.net\/projects\/postfixadmin\/\" target=\"_blank\" rel=\"noopener\">https:\/\/sourceforge.net\/projects\/postfixadmin\/<\/a>\u306bReleased \/postfixadmin-3.3.2\/PostfixAdmin 3.3.2 &#8211; bug fix.tar.gz\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u304c\u3001\u79c1\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u306f3.2\u3067\u3057\u305f\u306e\u3067\u3001\u3053\u306e\u5206\u306e\u8a2d\u5b9a\u3067\u3059\u3002postfixadmin \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u4fdd\u5b58\u3057\u305f\u6240\u306b INSTALL.TXT \u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3053\u308c\u306b\u5f93\u3063\u3066\u8a2d\u5b9a\u3057\u3066\u884c\u304d\u307e\u3059\u304c\u3001postfixadmin\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306e\u70ba\u306bapache\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002\/etc\/httpd\/conf.d\/ \u306bpostfixadmin.conf \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> gedit \/etc\/httpd\/conf.d\/postfixadmin.conf<\/span><\/p>\r\n\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>Alias \/postfixadmin \"\/xxxxxxxx\/xxxxx\/kinryo\/postfixadmin\/public\"\r\n\r\n&lt;Location \"\/postfixadmin\"&gt;\r\n\tRequire all denied\r\n\tRequire ip 127.0.0.1\r\n\tRequire ip 192.168.xx.xx\/24\r\n\tRequire all granted\r\n&lt;\/Location&gt;<\/code><\/pre>\r\n<\/div>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u4e00\u90e8\u306b\u4f0f\u305b\u5b57\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u306f\u81ea\u5206\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u306e\u307f\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u3066\u3044\u307e\u3059\u3002<br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> systemctl reload httpd<\/span><br \/>\u3068\u3057\u3001\u8a2d\u5b9a\u3092\u53cd\u6620\u3002<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u6b21\u306f\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u306e\u5236\u4f5c (mysql(mariadb)\u81ea\u4f53\u306f\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3059\uff09<br \/>\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u306f mysql(mariadb)<br \/>\u5176\u30e6\u30fc\u30b6\u30fc\u306f postfixadmin<br \/>\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u540d\u306f postfix \u3068\u3057\u3066\u4f5c\u6210<br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> mysql -u root -p<\/span><br \/>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b<br \/><span style=\"color: #ff6600;\">MariaDB [(none)]&gt;<span style=\"color: #008000;\"> create database postfix;<\/span><br \/><span style=\"color: #ff6600;\">MariaDB [(none)]&gt;<\/span><span style=\"color: #008000;\">grant all privileges on postfix.* to postfixadmin@localhost identified by &#8216;postfixadmin\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&#8217;;<\/span><br \/><span style=\"color: #ff6600;\">MariaDB [(none)]&gt;<\/span><span style=\"color: #008000;\">quit<\/span><br \/><span style=\"color: #333333;\">\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/span><br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> mysql -u postfixadmin -p<\/span><br \/>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b<\/span><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">postfixadmin\u306fconfig.inc.php\u3068\u540c\u3058\u5834\u6240\u306b config.local.php \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u3044\u3066\u304a\u304f\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u65e9\u901f\u4f5c\u6210<br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> gedit \/WEB\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/postfixadmin\/config.local.php<\/span><br \/><br \/><br \/><\/p>\r\n\r\n\r\n\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\r\n$CONF['database_type'] = 'mysqli';\r\n$CONF['database_user'] = 'postfixadmin';\r\n$CONF['database_password'] = 'xxxxxxxxxx';\r\n$CONF['database_name'] = 'postfix';\r\n\r\n$CONF['configured'] = true;\r\n$CONF['default_language'] = 'ja';\r\n?&gt;<\/code><\/pre>\r\n<\/div>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">\u6b21\u306f\u3001template_c \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306e\u4f5c\u6210<br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> mkdir \/WEB\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/postfixadmin\/template_c<\/span><br \/>postfixadmin \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u4ee5\u4e0b\u306e\u30aa\u30fc\u30ca\u30fc\u3092apache\u306b\u3059\u308b\u3002<br \/><span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> chown -R apache. \/WEB\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/postfixadmin<\/span><\/p>\r\n<p>\u305d\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3067 \u30c9\u30e1\u30a4\u30f3\/postfixadmin\/setup.php\u306b\u30a2\u30af\u30bb\u30b9<br \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/postfixadmin.png\" alt=\"\" class=\"alignnone size-full wp-image-2090\" width=\"637\" height=\"651\" srcset=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/postfixadmin.png 637w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/postfixadmin-294x300.png 294w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/postfixadmin-147x150.png 147w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><br \/>\u3053\u306e\u753b\u9762\u306f\u5168\u304f\u521d\u3081\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4e0a\u306e\u753b\u9762\u3068\u306f\u82e5\u5e72\u9055\u3046\uff08\u3053\u306e\u753b\u9762\u306f\u4e8c\u56de\u76ee\u4ee5\u964d\u306e\u753b\u9762\uff09\u3053\u3053\u3067\u3001\u7ba1\u7406\u8005\u306b\u81ea\u5206\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3001\u8a2d\u5b9a\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4e8c\u56de\u5165\u308c\u3001\u7ba1\u7406\u8005\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068<br \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-17-48-08.png\" alt=\"\" class=\"alignnone size-full wp-image-2091\" width=\"763\" height=\"723\" srcset=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-17-48-08.png 763w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-17-48-08-300x284.png 300w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-17-48-08-150x142.png 150w\" sizes=\"auto, (max-width: 763px) 100vw, 763px\" \/><br \/>\u8d64\u5b57\u306e\u6700\u5f8c\u306e\u884c\u306e $CONF[&#8216;setup_password&#8217;] \u3067\u59cb\u307e\u308b\u884c\u3092config.local.php\u306b\u30b3\u30d4\u30fc<br \/><br \/><\/p>\r\n<p>\r\n\r\n<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>&lt;?php\r\n$CONF['database_type'] = 'mysqli';\r\n$CONF['database_user'] = 'postfixadmin';\r\n$CONF['database_password'] = 'XXXXXXXXX';\r\n$CONF['database_name'] = 'postfix';\r\n\r\n$CONF['configured'] = true;\r\n$CONF['default_language'] = 'ja';\r\n\r\n$CONF['setup_password'] = '07dfece4c2cce2b07b8bb1b8b477310b:7ab14259fc21b0e3a79610c5386d3f76a3f06c0a';\r\n?&gt;<\/code><\/pre>\r\n<\/div>\r\n<p>\r\n\r\n<\/p>\r\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3067\u3001 \u30c9\u30e1\u30a4\u30f3\/postfixadmin \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-18-48-1.png\" alt=\"\" class=\"alignnone size-full wp-image-2096\" width=\"1009\" height=\"604\" srcset=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-18-48-1.png 1009w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-18-48-1-300x180.png 300w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-18-48-1-150x90.png 150w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><br \/>\u305d\u3057\u3066\u3001\u30e1\u30a2\u30c9\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u308c\u3001\u30ed\u30b0\u30a4\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-20-14-1.png\" alt=\"\" class=\"alignnone size-full wp-image-2099\" width=\"1015\" height=\"504\" srcset=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-20-14-1.png 1015w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-20-14-1-300x149.png 300w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2021\/01\/Screenshot-from-2021-01-16-19-20-14-1-150x74.png 150w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/p>\r\n<p>\u3053\u308c\u3067\u3001\u30c9\u30e1\u30a4\u30f3\u3084\u30e1\u30a2\u30c9\u306a\u3069\u304c\u4f5c\u308c\u308b\u3002<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306fhttps:\/\/sourceforge.net\/projects\/postfixadmin\/\u306bReleased \/postfixadmin-3.3.2\/PostfixAdmin 3.3.2 &#8211;  &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=2052\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"common","vkexunit_cta_each_option":"","footnotes":""},"categories":[21],"tags":[],"class_list":["post-2052","post","type-post","status-publish","format-standard","hentry","category-21"],"acf":[],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/2052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2052"}],"version-history":[{"count":23,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/2052\/revisions"}],"predecessor-version":[{"id":3680,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/2052\/revisions\/3680"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}