差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
tech:mailu [2025/01/16 12:15] jonathantech:mailu [2025/01/16 12:49] (目前版本) – [安裝程序] jonathan
行 21: 行 21:
  
 ===== 安裝程序 ===== ===== 安裝程序 =====
-  - [[tech/docker|安裝 Ubuntu 20.04 +Docker]]+  - [[tech/docker|安裝 Ubuntu 22.04 +Docker]]
   - 開啟主機防火牆<cli>   - 開啟主機防火牆<cli>
 ufw allow proto tcp from any to any port 25,80,110,143,443,465,587,993,995 comment 'Open SSH/Web/Mail ports' ufw allow proto tcp from any to any port 25,80,110,143,443,465,587,993,995 comment 'Open SSH/Web/Mail ports'
 ufw allow proto udp from any to any port 161 comment 'Open SNMP ports' ufw allow proto udp from any to any port 161 comment 'Open SNMP ports'
 </cli> </cli>
-  - 使用 https://setup.mailu.io/2.0/ 產生設定檔 +  - 使用 https://setup.mailu.io/2024.06/ 產生設定檔 
-    - Version : 2.0+    - Version : 2024.06
     - Step1:     - Step1:
       - Mailu storage path: /mailu       - Mailu storage path: /mailu
行 38: 行 38:
       - Website name : mail01 for ichiayi.com       - Website name : mail01 for ichiayi.com
       - Linked Website URL : https://www.ichiayi.com       - Linked Website URL : https://www.ichiayi.com
-      - Enable the admin UI : /admin+      - Enable the admin UI : [V]
     - Step 2 - Pick some features     - Step 2 - Pick some features
       - Enable Web email client : none       - Enable Web email client : none
 +      - Enable oletools : [ ]
     - Step 3 - expose Mailu to the world     - Step 3 - expose Mailu to the world
       - IPv4 listen address : 0.0.0.0       - IPv4 listen address : 0.0.0.0
       - Subnet of the docker network : 192.168.203.0/24       - Subnet of the docker network : 192.168.203.0/24
 +      - Enable an internal DNS resolver (unbound) [V]
       - Public hostnames : mail01.ichiayi.com       - Public hostnames : mail01.ichiayi.com
-  - 依照 https://setup.mailu.io/2.0/ 建議執行+  - 依照 https://setup.mailu.io/2024.06/ 建議執行
     - Step 1 - Download your configuration files<cli>     - Step 1 - Download your configuration files<cli>
 mkdir /mailu mkdir /mailu
 cd /mailu cd /mailu
-wget https://setup.mailu.io/2.0/file/0827c1b0-1fad-479d-xxxx-23a71d37744f/docker-compose.yml +wget https://setup.mailu.io/2024.06/file/0827c1b0-1fad-479d-xxxx-23a71d37744f/docker-compose.yml 
-wget https://setup.mailu.io/2.0/file/0827c1b0-1fad-479d-xxxx-23a71d37744f/mailu.env+wget https://setup.mailu.io/2024.06/file/0827c1b0-1fad-479d-xxxx-23a71d37744f/mailu.env
 </cli> </cli>
     - Step 2 - Review the configuration : 確認 docker-compose.yml 與 mailu.env 內容是否正常     - Step 2 - Review the configuration : 確認 docker-compose.yml 與 mailu.env 內容是否正常
行 58: 行 60:
 </cli> </cli>
     * 等啟動 MailU 服務後, 設定管理者密碼 Exp. My_12345Password <cli>     * 等啟動 MailU 服務後, 設定管理者密碼 Exp. My_12345Password <cli>
-docker compose -p mailu exec admin flask mailu admin admin mail01.ichiayi.com My_12345Password+docker compose -p mailu exec admin flask mailu admin admin mail01.ichiayi.com 'My_12345Password'
 </cli> </cli>
     * 連上 Web 管理介面 https://mail01.ichiayi.com/admin     * 連上 Web 管理介面 https://mail01.ichiayi.com/admin
  • tech/mailu.1737000954.txt.gz
  • 上一次變更: 2025/01/16 12:15
  • jonathan