{"id":1020,"date":"2024-06-22T08:30:57","date_gmt":"2024-06-22T00:30:57","guid":{"rendered":"https:\/\/www.mailabc.cn\/blog\/?p=1020"},"modified":"2024-06-24T15:20:26","modified_gmt":"2024-06-24T07:20:26","slug":"iredmail-install","status":"publish","type":"post","link":"https:\/\/www.mailabc.cn\/blog\/2024\/06\/22\/iredmail-install\/","title":{"rendered":"iRedMail\u5f00\u6e90\u90ae\u4ef6\u7cfb\u7edf\u5b89\u88c5\u8bb0\u5f55"},"content":{"rendered":"<h2>1. \u9879\u76ee\u4ecb\u7ecd<\/h2>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"https:\/\/www.iredmail.org\/\" rel=\"nofollow noopener\" target=\"_blank\">iRedMail &#8211; Free, Open Source Mail Server Solution<\/a><\/p>\n<p>iRedMail\u662f\u4e00\u4e2a\u96c6\u6210\u4e86\u90ae\u4ef6\u670d\u52a1\u5668\u3001\u7ba1\u7406\u63a7\u5236\u9762\u677f\u548c\u5907\u4efd\u5de5\u5177\u7684\u5f00\u6e90\u8f6f\u4ef6\u3002\u901a\u8fc7\u9879\u76ee\u63d0\u4f9b\u7684\u811a\u672c\u5de5\u5177\uff0c\u53ef\u4ee5\u5feb\u901f\u90e8\u7f72\u591a\u4e2a\u5f00\u6e90\u7ec4\u4ef6\u3002\u9879\u76ee\u63d0\u4f9b\u514d\u8d39\u7248\u672c\u7684web\u7ba1\u7406\u754c\u9762\uff0c\u53ef\u4ee5\u5bf9\u7528\u6237\u548c\u57df\u540d\u505a\u57fa\u672c\u7ba1\u7406\u3002\u5982\u9700\u5728web\u754c\u9762\u4e0a\u8fdb\u884c\u66f4\u591a\u7ba1\u7406\u64cd\u4f5c\uff0c\u5219\u9700\u8981\u4ed8\u8d39\u8d2d\u4e70iRedAdmin-Pro\u3002<\/p>\n<p>\u9879\u76ee\u6d89\u53ca\u7684\u5957\u4ef6\u5982\u4e0b\uff1a<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/docs.iredmail.org\/used.components.html\" rel=\"nofollow noopener\" target=\"_blank\">Major open source software used in iRedMail<\/a><\/p>\n<table style=\"border-collapse: collapse; width: 97.0696%; height: 192px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; text-align: center; height: 24px;\"><strong>\u540d\u79f0<\/strong><\/td>\n<td style=\"width: 89.4481%; text-align: center; height: 24px;\"><strong>\u8bf4\u660e<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/www.postfix.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Postfix<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">\u63d0\u4f9bMTA\u670d\u52a1<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/www.dovecot.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Dovecot<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">\u63d0\u4f9bPOP3\u3001IMAP\u7b49\u670d\u52a1<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/www.nginx.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Nginx<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">\u63d0\u4f9bWEB\u670d\u52a1<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/www.openldap.org\/\" rel=\"nofollow noopener\" target=\"_blank\">OpenLDAP<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">\u63d0\u4f9b\u76ee\u5f55\u670d\u52a1\uff0c\u4e3b\u8981\u7528\u4e8e\u7528\u6237\u8d26\u53f7\u5b58\u50a8\uff08\u53ef\u9009\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/www.mysql.com\/\" rel=\"nofollow noopener\" target=\"_blank\">MySQL<\/a>,\u00a0<a href=\"https:\/\/mariadb.org\/\" rel=\"nofollow noopener\" target=\"_blank\">MariaDB<\/a>,\u00a0<a href=\"http:\/\/www.postgresql.org\/\" rel=\"nofollow noopener\" target=\"_blank\">PostgreSQL<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">\u63d0\u4f9b\u6570\u636e\u5e93\u670d\u52a1\uff0c\u7528\u4e8e\u5b58\u50a8\u7a0b\u5e8f\u6570\u636e\u3002\u4e5f\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u7528\u6237\u8d26\u53f7\u6570\u636e\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/mlmmj.org\/\" rel=\"nofollow noopener\" target=\"_blank\">mlmmj<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">\u63d0\u4f9b\u90ae\u4ef6\u5217\u8868\u7ba1\u7406\u3002iRedMail-0.9.8 \u53ca\u4e4b\u540e\u7248\u672c\u652f\u6301\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 30.3773%; height: 24px; text-align: center;\"><a href=\"http:\/\/www.amavis.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Amavisd-new<\/a><\/td>\n<td style=\"width: 89.4481%; height: 24px;\">Postfix\u4e0eClamav\u3001SpamAssassin\u4e4b\u95f4\u7684\u6865\u6881\u3002\u7b80\u5355\u7406\u89e3\u7531\u8be5\u6a21\u5757\u8c03\u7528Clamav\u548cSpamAssassin\u8fdb\u884c\u53cd\u75c5\u6bd2\u3001\u53cd\u5783\u573e\u68c0\u67e5\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.3773%; text-align: center;\"><a href=\"http:\/\/spamassassin.apache.org\/\" rel=\"nofollow noopener\" target=\"_blank\">SpamAssassin<\/a><\/td>\n<td style=\"width: 89.4481%;\">\u63d0\u4f9b\u57fa\u4e8e\u5185\u5bb9\u7684\u53cd\u5783\u573e\u8fc7\u6ee4\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.3773%; text-align: center;\"><a href=\"http:\/\/www.clamav.net\/\" rel=\"nofollow noopener\" target=\"_blank\">ClamAV<\/a><\/td>\n<td style=\"width: 89.4481%;\">\u63d0\u4f9b\u75c5\u6bd2\u626b\u63cf\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.3773%; text-align: center;\"><a href=\"http:\/\/roundcube.net\/\" rel=\"nofollow noopener\" target=\"_blank\">Roundcube webmail<\/a><\/td>\n<td style=\"width: 89.4481%;\">\u63d0\u4f9bWebMail\uff0c\u57fa\u4e8ePHP\u5f00\u53d1\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.3773%; text-align: center;\"><a href=\"http:\/\/sogo.nu\/\" rel=\"nofollow noopener\" target=\"_blank\">SOGo Groupware<\/a><\/td>\n<td style=\"width: 89.4481%;\">\u4e00\u7ec4\u63d0\u4f9bCalDAV\u3001CardDAV\u3001ActiveSync\u670d\u52a1\u7684\u5957\u4ef6\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.3773%; text-align: center;\"><a href=\"http:\/\/www.fail2ban.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Fail2ban<\/a><\/td>\n<td style=\"width: 89.4481%;\">\u57fa\u4e8e\u65e5\u5fd7\u626b\u63cf\u5e76\u5bf9IP\u8fdb\u884c\u963b\u6b62\u7684\u5de5\u5177\u3002\u7b80\u5355\u7406\u89e3\u53ef\u4ee5\u7528\u6765\u9632\u6b62\u66b4\u529b\u7834\u89e3\u5bc6\u7801\u653b\u51fb\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.3773%; text-align: center;\"><a href=\"https:\/\/github.com\/iredmail\/iRedAPD\/\" rel=\"nofollow noopener\" target=\"_blank\">iRedAPD<\/a><\/td>\n<td style=\"width: 89.4481%;\">\u7531iRedMail\u56e2\u961f\u5f00\u53d1\u7684Postfix\u7b56\u7565\u7ba1\u7406\u8f6f\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>2. \u51c6\u5907\u5de5\u4f5c<\/h2>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/docs.iredmail.org\/install.iredmail.on.rhel.html\" rel=\"nofollow noopener\" target=\"_blank\">Install iRedMail on Red Hat Enterprise Linux, CentOS<\/a><\/p>\n<h3>2.1 \u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>iRedMail\u88ab\u8bbe\u8ba1\u4e3a\u90e8\u7f72\u5728\u5168\u65b0\u670d\u52a1\u5668\u7cfb\u7edf\u4e0a\uff0c\u8be5\u7cfb\u7edf\u6ca1\u6709\u5b89\u88c5\u4e0e\u90ae\u4ef6\u76f8\u5173\u7684\u7ec4\u4ef6\uff0c \u4f8b\u5982 MySQL\u3001OpenLDAP\u3001Postfix\u3001Dovecot\u3001Amavisd\u7b49\u3002iRedMail \u5c06\u5b89\u88c5\u5e76\u81ea\u52a8\u4e3a\u60a8\u914d\u7f6e\u5b83\u4eec\u3002\u5426\u5219\uff0c\u5b83\u53ef\u80fd\u4f1a\u8986\u76d6\u60a8\u7684\u73b0\u6709\u6587\u4ef6\/\u914d\u7f6e\uff0c\u5c3d\u7ba1\u5b83\u4f1a\u5907\u4efd\u6587\u4ef6\u4e4b\u524d\u4fee\u6539\uff0c\u5b83\u53ef\u80fd\u65e0\u6cd5\u6309\u9884\u671f\u5de5\u4f5c\u3002<\/li>\n<li>\u4f4e\u6d41\u91cf\u751f\u4ea7\u90ae\u4ef6\u670d\u52a1\u5668\u542f\u7528\u5783\u573e\u90ae\u4ef6\/\u75c5\u6bd2\u626b\u63cf\u81f3\u5c11\u9700\u89814GB\u5185\u5b58\u3002<\/li>\n<li>\u786e\u4fdd\u64cd\u4f5c\u7cfb\u7edf\u4e0a3\u4e2aUID\/GID\u672a\u88ab\u5176\u4ed6\u7528\u6237\/\u7ec4\u4f7f\u7528\uff1a2000\u30012001\u30012002\u3002<\/li>\n<\/ul>\n<h3>2.2 \u64cd\u4f5c\u7cfb\u7edf\u57fa\u672c\u914d\u7f6e<\/h3>\n<p>\u63d0\u793a\uff1a\u672c\u6587\u64cd\u4f5c\u7cfb\u7edf\u4ee5 Rocky Linux 9.4 \u4e3a\u4f8b\u3002<\/p>\n<h4><strong># \u4e3b\u673a\u540d\u8bbe\u7f6e<\/strong><\/h4>\n<p>(1)\u8bbe\u7f6e\u4e3b\u673a\u540dFQDN\uff08fully qualified domain name\uff09\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">hostnamectl hostname mail.mailabc.cn<\/pre>\n<p>(2)\u4fee\u6539\/etc\/hosts\uff0c\u5c06\u4e0a\u9762\u8bbe\u7f6e\u7684\u4e3b\u673a\u540d\u6dfb\u52a0\u5230\u89e3\u6790\u5217\u8868<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">127.0.0.1 mail.mailabc.cn localhost<\/pre>\n<p>(3)\u786e\u8ba4\u4e3b\u673a\u540d\u4fee\u6539\u6b63\u786e\uff0c\u5982\u679c\u6ca1\u6709\u751f\u6548\u5219\u53ef\u80fd\u9700\u8981\u91cd\u542f\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">hostname -f<\/pre>\n<h4># selinux\u914d\u7f6e<\/h4>\n<p># vi \/etc\/selinux\/config<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SELINUX=disabled<\/pre>\n<p>\u4e0a\u8ff0\u914d\u7f6e\u9700\u8981\u91cd\u542f\u64cd\u4f5c\u7cfb\u7edf\u751f\u6548\u3002<\/p>\n<h4># YUM\u6e90\u914d\u7f6e<\/h4>\n<p>Rocky Linux9\u9ed8\u8ba4\u63d0\u4f9b\u7684yum\u6e90\u5df2\u542f\u7528appstream\uff0c\u4f7f\u7528\u9ed8\u8ba4\u914d\u7f6e\u5373\u53ef\u3002<\/p>\n<p>\u989d\u5916\u5b89\u88c5EPEL yum\u6e90\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dnf -y install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-9.noarch.rpm<\/pre>\n<h3>2.3 \u4e0b\u8f7d\u5b89\u88c5\u5305<\/h3>\n<p># \u4e0b\u8f7d<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">wget https:\/\/github.com\/iredmail\/iRedMail\/archive\/refs\/tags\/1.6.8.tar.gz<\/pre>\n<p>\u6700\u65b0\u7248\u8bf7\u524d\u5f80\u5b98\u7f51\u4e3b\u9875\u4e0b\u8f7d\uff1a<a href=\"https:\/\/www.iredmail.org\/download.html\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/www.iredmail.org\/download.html<\/a><\/p>\n<h2>3. \u5b89\u88c5iRedMail<\/h2>\n<h3>3.1 \u89e3\u538b\u7f29\u5b89\u88c5\u5305<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">tar -zxvf iRedMail-1.6.8.tar.gz\r\ncd iRedMail-1.6.8\r\n<\/pre>\n<h3>3.2 \u6267\u884c\u5b89\u88c5<\/h3>\n<p>\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sh iRedMail.sh<\/pre>\n<p>\u6839\u636e\u4e0b\u9762\u63d0\u793a\u754c\u9762\u8fdb\u884c\u914d\u7f6e\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807402777.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1023\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807402777.jpg\"  alt=\"\u6b22\u8fce\u9875\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"391\" class=\"aligncenter size-full wp-image-1023\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807402777.jpg\" alt=\"\u6b22\u8fce\u9875\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u8bbe\u7f6e\u90ae\u4ef6\u5b58\u50a8\u76ee\u5f55\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807420068.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1024\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807420068.jpg\"  alt=\"\u8bbe\u7f6e\u90ae\u4ef6\u5b58\u50a8\u76ee\u5f55\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"391\" class=\"aligncenter size-full wp-image-1024\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807420068.jpg\" alt=\"\u8bbe\u7f6e\u90ae\u4ef6\u5b58\u50a8\u76ee\u5f55\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u8bbe\u7f6eweb\u670d\u52a1\u5668\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807431744.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1025\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807431744.jpg\"  alt=\"\u8bbe\u7f6eweb\u670d\u52a1\u5668\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"392\" class=\"aligncenter size-full wp-image-1025\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807431744.jpg\" alt=\"\u8bbe\u7f6eweb\u670d\u52a1\u5668\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u9009\u62e9\u540e\u53f0\u6570\u636e\u5e93\uff0c\u8fd9\u91cc\u6211\u4f7f\u7528\u7684\u662fMariaDB\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807464273.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1030\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807464273.jpg\"  alt=\"\u9009\u62e9\u6570\u636e\u5e93\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"392\" class=\"aligncenter size-full wp-image-1030\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807464273.jpg\" alt=\"\u9009\u62e9\u6570\u636e\u5e93\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u8bbe\u7f6e\u6570\u636e\u5e93root\u7528\u6237\u5bc6\u7801\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807474458.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1031\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807474458.jpg\"  alt=\"\u8bbe\u7f6eroot\u5bc6\u7801\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"390\" class=\"aligncenter size-full wp-image-1031\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807474458.jpg\" alt=\"\u8bbe\u7f6eroot\u5bc6\u7801\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u8bbe\u7f6e\u90ae\u7bb1\u57df\u540d\uff0c\u6ce8\u610f\u4e0d\u662f\u4e3b\u673a\u540d\uff0c\u8fd9\u91cc\u4ee5mailabc.cn\u4e3a\u4f8b\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807490537.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1032\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807490537.jpg\"  alt=\"\u8bbe\u7f6e\u90ae\u7bb1\u57df\u540d\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"392\" class=\"aligncenter size-full wp-image-1032\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807490537.jpg\" alt=\"\u8bbe\u7f6e\u90ae\u7bb1\u57df\u540d\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u8bbe\u7f6epostmaster\u7ba1\u7406\u5458\u5bc6\u7801\uff0c\u8be5\u8d26\u53f7\u53ef\u4ee5\u767b\u5f55webmail\u548cIRedAdmin\u7ba1\u7406\u540e\u53f0\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807504626.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1033\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807504626.jpg\"  alt=\"\u8bbe\u7f6e\u7ba1\u7406\u5458\u7528\u6237\u5bc6\u7801\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"393\" class=\"aligncenter size-full wp-image-1033\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807504626.jpg\" alt=\"\u8bbe\u7f6e\u7ba1\u7406\u5458\u7528\u6237\u5bc6\u7801\" \/><\/a><\/p><\/noscript>\n<p>\u4e0b\u4e00\u6b65\uff0c\u9009\u62e9\u9700\u8981\u5b89\u88c5\u7684\u5957\u4ef6\u3002SOGo\u614e\u91cd\u9009\u62e9\uff0c\u9700\u8981\u989d\u5916\u914d\u7f6eyum\u6e90\uff0c\u5e76\u4e14\u4e0b\u8f7d\u5f88\u6162\uff0c\u5982\u679c\u786e\u6709\u9700\u8981\uff0c\u53ef\u4ee5\u8003\u8651\u901a\u8fc7\u5176\u4ed6\u624b\u6bb5\u5148\u628a\u5b89\u88c5\u5305\u4e0b\u8f7d\u5230\u672c\u5730\uff1a<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807525569.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1034\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807525569.jpg\"  alt=\"\u989d\u5916\u5957\u4ef6\u9009\u62e9\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"392\" class=\"aligncenter size-full wp-image-1034\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807525569.jpg\" alt=\"\u989d\u5916\u5957\u4ef6\u9009\u62e9\" \/><\/a><\/p><\/noscript>\n<p>\u6c47\u603b\u4e0a\u9762\u7684\u9009\u62e9\u4fe1\u606f\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807551996.jpg\" rel=\"box\" class=\"fancybox\"><img class=\"aligncenter size-full wp-image-1036\" data-original=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807551996.jpg\"  alt=\"\u6c47\u603b\u4fe1\u606f\" \/><\/a><\/p>\n<noscript><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"407\" class=\"aligncenter size-full wp-image-1036\" src=\"https:\/\/www.mailabc.cn\/blog\/wp-content\/uploads\/2024\/06\/2024061807551996.jpg\" alt=\"\u6c47\u603b\u4fe1\u606f\" \/><\/a><\/p><\/noscript>\n<p>\u8f93\u5165y\u7ee7\u7eed\uff0c\u4e0b\u9762\u5373\u5f00\u59cb\u8fdb\u884c\u5b89\u88c5\u5305\u7684\u4e0b\u8f7d\u548c\u6821\u9a8c\u3002\u6b64\u65f6\uff0c\u4e0a\u9762\u6240\u4f5c\u7684\u914d\u7f6e\u9009\u62e9\u4f1a\u88ab\u4fdd\u5b58\u5230iRedMail-1.6.8\/config\u6587\u4ef6\u4e2d\uff0c\u5982\u679c\u6b64\u65f6\u4e2d\u65ad\u5b89\u88c5\uff0c\u4e0b\u6b21\u91cd\u65b0\u6267\u884c\u5b89\u88c5\u811a\u672c\u5219\u4f1a\u76f4\u63a5\u8df3\u8fc7\u4e0a\u8ff0\u7684\u9009\u62e9\u5411\u5bfc\u3002<\/p>\n<p>\u540e\u7eed\u5c06\u4e0b\u8f7d\u8f6f\u4ef6\u5305\uff0c\u9996\u5148\u4e0b\u8f7d\u7684\u662f\u4e0b\u97625\u4e2a\u5b89\u88c5\u5305\uff08\u6ce8\u610f\uff1a\u8fd9\u662f1.6.8\u7248\u672c\u6240\u9700\u7684\u8f6f\u4ef6\u5305\uff0c\u5176\u4ed6\u7248\u672c\u53ef\u80fd\u7565\u6709\u4e0d\u540c\uff09\uff0c\u4e0b\u8f7d\u76ee\u5f55\u4f4d\u7f6e\u4e3aiRedMail-1.6.8\/pkgs\/misc\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">iRedAdmin-2.5.tar.gz\r\nmlmmjadmin-3.1.9.tar.gz\r\niRedAPD-5.3.3.tar.gz\r\nnetdata-v1.44.1.gz.run\r\nroundcubemail-1.6.5-complete.tar.gz<\/pre>\n<p>\u5982\u679c\u4e0b\u8f7d\u5f88\u6162\uff0c\u53ef\u4ee5\u901a\u8fc7\u5176\u4ed6\u624b\u6bb5\u5230\u8fd9\u91cc\u4e0b\u8f7d\uff1a<a href=\"https:\/\/dl.iredmail.org\/yum\/misc\/\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/dl.iredmail.org\/yum\/misc\/<\/a><\/p>\n<p>\u5982\u679c\u9009\u62e9\u4e86\u5b89\u88c5SOGo\uff0c\u4e0b\u8f7d\u4e5f\u4f1a\u975e\u5e38\u6162\uff0c\u9700\u8981\u53e6\u884c\u5904\u7406\u3002<\/p>\n<h3>3.3 \u5b89\u88c5\u540e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u67e5\u770biRedMail-1.6.8\/iRedMail.tips \u8be5\u6587\u4ef6\uff0c\u8fd9\u91cc\u8bb0\u5f55\u4e86\u5982\u4e0b\u4fe1\u606f\uff1a<\/p>\n<ul>\n<li>URLs\u3001\u57fa\u4e8eWeb\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/li>\n<li>\u90ae\u4ef6\u670d\u52a1\u76f8\u5173\u8f6f\u4ef6\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e\u3002<\/li>\n<li>\u5176\u4ed6\u4e00\u4e9b\u91cd\u8981\u548c\u654f\u611f\u7684\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u91cc\u7ed9\u51fa\u4e00\u4efd\u793a\u4f8b\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Admin of domain mailabc.cn:\r\n\r\n    * Account: postmaster@mailabc.cn\r\n    * Password: admin123\r\n\r\n    You can login to iRedAdmin with this account, login name is full email address.\r\n\r\nFirst mail user:\r\n    * Username: postmaster@mailabc.cn\r\n    * Password: admin123\r\n    * SMTP\/IMAP auth type: login\r\n    * Connection security: STARTTLS or SSL\/TLS\r\n\r\n    You can login to webmail with this account, login name is full email address.\r\n\r\n* Enabled services:  rsyslog firewalld postfix mariadb nginx php-fpm dovecot clamd@amavisd amavisd clamav-freshclam fail2ban crond\r\n\r\n\r\nSSL cert keys (size: 4096):\r\n    - \/etc\/pki\/tls\/certs\/iRedMail.crt\r\n    - \/etc\/pki\/tls\/private\/iRedMail.key\r\n\r\nMail Storage:\r\n    - Mailboxes: \/var\/vmail\/vmail1\r\n    - Mailbox indexes: \r\n    - Global sieve filters: \/var\/vmail\/sieve\r\n    - Backup scripts and backup copies: \/var\/vmail\/backup\r\n\r\nMySQL:\r\n    * Root user: root, Password: \"admin@123\" (without quotes)\r\n    * Bind account (read-only):\r\n        - Username: vmail, Password: m69iWEZlS2H5BTmd3Vp4v5VbSBtFiesp\r\n    * Vmail admin account (read-write):\r\n        - Username: vmailadmin, Password: qyIHTj6ntVi4qMDu3ha44wRRi4H9bTcK\r\n    * Config file: \/etc\/my.cnf\r\n    * RC script: \/etc\/init.d\/mariadb\r\n\r\nVirtual Users:\r\n    - \/root\/iRedMail-1.6.8\/samples\/iredmail\/iredmail.mysql\r\n    - \/root\/iRedMail-1.6.8\/runtime\/*.sql\r\n\r\nBackup MySQL database:\r\n    * Script: \/var\/vmail\/backup\/backup_mysql.sh\r\n    * See also:\r\n        # crontab -l -u root\r\n\r\nPostfix:\r\n    * Configuration files:\r\n        - \/etc\/postfix\r\n        - \/etc\/postfix\/aliases\r\n        - \/etc\/postfix\/main.cf\r\n        - \/etc\/postfix\/master.cf\r\n\r\n    * SQL\/LDAP lookup config files:\r\n        - \/etc\/postfix\/mysql\r\n\r\nDovecot:\r\n    * Configuration files:\r\n        - \/etc\/dovecot\/dovecot.conf\r\n        - \/etc\/dovecot\/dovecot-ldap.conf (For OpenLDAP backend)\r\n        - \/etc\/dovecot\/dovecot-mysql.conf (For MySQL backend)\r\n        - \/etc\/dovecot\/dovecot-pgsql.conf (For PostgreSQL backend)\r\n        - \/etc\/dovecot\/dovecot-used-quota.conf (For real-time quota usage)\r\n        - \/etc\/dovecot\/dovecot-share-folder.conf (For IMAP sharing folder)\r\n    * Syslog config file:\r\n        - \/etc\/rsyslog.d\/1-iredmail-dovecot.conf (present if rsyslog &gt;= 8.x)\r\n    * RC script: \/etc\/init.d\/dovecot\r\n    * Log files:\r\n        - \/var\/log\/dovecot\/dovecot.log\r\n        - \/var\/log\/dovecot\/sieve.log\r\n        - \/var\/log\/dovecot\/lmtp.log\r\n        - \/var\/log\/dovecot\/lda.log (present if rsyslog &gt;= 8.x)\r\n        - \/var\/log\/dovecot\/imap.log (present if rsyslog &gt;= 8.x)\r\n        - \/var\/log\/dovecot\/pop3.log (present if rsyslog &gt;= 8.x)\r\n        - \/var\/log\/dovecot\/sieve.log (present if rsyslog &gt;= 8.x)\r\n    * See also:\r\n        - \/var\/vmail\/sieve\/dovecot.sieve\r\n        - Logrotate config file: \/etc\/logrotate.d\/dovecot\r\n\r\nNginx:\r\n    * Configuration files:\r\n        - \/etc\/nginx\/nginx.conf\r\n        - \/etc\/nginx\/sites-available\/00-default.conf\r\n        - \/etc\/nginx\/sites-available\/00-default-ssl.conf\r\n    * Directories:\r\n        - \/etc\/nginx\r\n        - \/var\/www\/html\r\n    * See also:\r\n        - \/var\/www\/html\/index.html\r\n\r\nphp-fpm:\r\n    * Configuration files: \/etc\/php-fpm.d\/www.conf\r\n\r\nPHP:\r\n    * PHP config file for Nginx: \r\n    * Disabled functions: posix_uname,eval,pcntl_wexitstatus,posix_getpwuid,xmlrpc_entity_decode,pcntl_wifstopped,pcntl_wifexited,pcntl_wifsignaled,phpAds_XmlRpc,pcntl_strerror,ftp_exec,pcntl_wtermsig,mysql_pconnect,proc_nice,pcntl_sigtimedwait,posix_kill,pcntl_sigprocmask,fput,phpinfo,system,phpAds_remoteInfo,ftp_login,inject_code,posix_mkfifo,highlight_file,escapeshellcmd,show_source,pcntl_wifcontinued,fp,pcntl_alarm,pcntl_wait,ini_alter,posix_setpgid,parse_ini_file,ftp_raw,pcntl_waitpid,pcntl_getpriority,ftp_connect,pcntl_signal_dispatch,pcntl_wstopsig,ini_restore,ftp_put,passthru,proc_terminate,posix_setsid,pcntl_signal,pcntl_setpriority,phpAds_xmlrpcEncode,pcntl_exec,ftp_nb_fput,ftp_get,phpAds_xmlrpcDecode,pcntl_sigwaitinfo,shell_exec,pcntl_get_last_error,ftp_rawlist,pcntl_fork,posix_setuid\r\n\r\nClamAV:\r\n    * Configuration files:\r\n        - \/etc\/clamd.d\/amavisd.conf\r\n        - \/etc\/freshclam.conf\r\n        - \/etc\/logrotate.d\/clamav\r\n    * RC scripts:\r\n            + \/etc\/init.d\/clamd@amavisd\r\n            + \/etc\/init.d\/freshclamd\r\n\r\nAmavisd-new:\r\n    * Configuration files:\r\n        - \/etc\/amavisd\/amavisd.conf\r\n        - \/etc\/postfix\/master.cf\r\n        - \/etc\/postfix\/main.cf\r\n    * RC script:\r\n        - \/etc\/init.d\/amavisd\r\n    * SQL Database:\r\n        - Database name: amavisd\r\n        - Database user: amavisd\r\n        - Database password: nm5GQ4NcNERpMPfOGtmYkRyGS1ptTQpc\r\n\r\nDNS record for DKIM support:\r\n\r\n; key#1 2048 bits, s=dkim, d=mailabc.cn, \/var\/lib\/dkim\/mailabc.cn.pem\r\ndkim._domainkey.mailabc.cn.     3600 TXT (\r\n  \"v=DKIM1; p=\"\r\n  \"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArqDwKcOUovXQab1htrjk\"\r\n  \"46yt9lqtYOyqgf0rPviw\/X2MSVyDh12WlGe3hSLTgavdeyvUB5T7QPJ+WlvNoO8S\"\r\n  \"B7QGCJnty3zIgxPKZKpVfelWTFa2vubv+vV0Xqc\/wfSWIi2qBDv92alCPYtzCsGc\"\r\n  \"B\/kIYHJrN6rZKyo1m5DlVHSt6EqdbBbWFUIzJN8vsgd\/EbpoPOCSyOdqJHdwFN\/j\"\r\n  \"W5s8SbDDUPCkn28t\/Fyumy6h5hri5qsK9rwSOsT09h5yCfOM9keyB5fGggg0aGtO\"\r\n  \"GPjHqXZHjx6Fgu\/jXtU\/ggrH6fCcjtnJcYFNQU2F+tI8QabUNeVjkj8bq2eiWV50\"\r\n  \"JQIDAQAB\")\r\nSpamAssassin:\r\n    * Configuration files and rules:\r\n        - \/etc\/mail\/spamassassin\r\n        - \/etc\/mail\/spamassassin\/local.cf\r\n\r\niRedAPD - Postfix Policy Server:\r\n    * Version: 5.3.3\r\n    * Listen address: 127.0.0.1, port: 7777\r\n    * SQL database account:\r\n        - Database name: iredapd\r\n        - Username: iredapd\r\n        - Password: NiMXyBOQn83zV6mvxhqAOBQw363CyGeI\r\n    * Configuration file:\r\n        - \/opt\/iredapd\/settings.py\r\n    * Related files:\r\n        - \/opt\/iRedAPD-5.3.3\r\n        - \/opt\/iredapd (symbol link to \/opt\/iRedAPD-5.3.3\r\n\r\niRedAdmin - official web-based admin panel:\r\n    * Version: 2.5\r\n    * Root directory: \/opt\/www\/iRedAdmin-2.5\r\n    * Config file: \/opt\/www\/iRedAdmin-2.5\/settings.py\r\n    * Web access:\r\n        - URL: https:\/\/mail.mailabc.cn\/iredadmin\/\r\n        - Username: postmaster@mailabc.cn\r\n        - Password: admin123\r\n    * SQL database:\r\n        - Database name: iredadmin\r\n        - Username: iredadmin\r\n        - Password: OYagG9UkBRble5lK2FE5y79cFqNDUJ4U\r\n\r\nRoundcube webmail: \/opt\/www\/roundcubemail-1.6.5\r\n    * Config file: \/opt\/www\/roundcubemail-1.6.5\/config\r\n    * Web access:\r\n        - URL: http:\/\/mail.mailabc.cn\/mail\/ (will be redirected to https:\/\/ site)\r\n        - URL: https:\/\/mail.mailabc.cn\/mail\/ (secure connection)\r\n        - Username: postmaster@mailabc.cn\r\n        - Password: admin123\r\n    * SQL database account:\r\n        - Database name: roundcubemail\r\n        - Username: roundcube\r\n        - Password: f4xKyFgYVbL5B9gXiF66NkBqIUbmEWoV\r\n    * Cron job:\r\n        - Command: \"crontab -l -u root\"\r\n\r\nnetdata (monitor):\r\n    - Config files:\r\n        - All config files: \/opt\/netdata\/etc\/netdata\r\n        - Main config file: \/opt\/netdata\/etc\/netdata\/netdata.conf\r\n        - Modified modular config files:\r\n            - \/opt\/netdata\/etc\/netdata\/go.d\r\n            - \/opt\/netdata\/etc\/netdata\/python.d\r\n    - HTTP auth file (if you need a new account to access netdata, please\r\n      update this file with command like 'htpasswd' or edit manually):\r\n        - \/etc\/nginx\/netdata.users\r\n    - Log directory: \/opt\/netdata\/var\/log\/netdata\r\n    - SQL:\r\n        - Username: netdata\r\n        - Password: SaWFClrRLUdzAbEOXjd3kdeEzRsSNOQZ\r\n        - NOTE: No database required by netdata.\r\n\r\nAdmin of domain mailabc.cn:\r\n\r\n    * Account: postmaster@mailabc.cn\r\n    * Password: admin123\r\n\r\n    You can login to iRedAdmin with this account, login name is full email address.\r\n\r\nFirst mail user:\r\n    * Username: postmaster@mailabc.cn\r\n    * Password: admin123\r\n    * SMTP\/IMAP auth type: login\r\n    * Connection security: STARTTLS or SSL\/TLS\r\n\r\n    You can login to webmail with this account, login name is full email address.<\/pre>\n<p>\u81f3\u6b64\uff0c\u90e8\u7f72\u5de5\u4f5c\u7ed3\u675f\u3002\u540e\u7eed\u6211\u4eec\u518d\u63a2\u8ba8\u8fd9\u5957\u7cfb\u7edf\u7684\u5177\u4f53\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u9879\u76ee\u4ecb\u7ecd \u9879\u76ee\u7f51\u7ad9\uff1aiRedMail &#8211; Free, Open Source Mail Se [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1044,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[111],"class_list":["post-1020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iredmail","tag-iredmail"],"_links":{"self":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/1020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/comments?post=1020"}],"version-history":[{"count":13,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/1020\/revisions"}],"predecessor-version":[{"id":1073,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/1020\/revisions\/1073"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media\/1044"}],"wp:attachment":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media?parent=1020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/categories?post=1020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/tags?post=1020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}