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'
mkdir /mailu cd /mailu wget https://setup.mailu.io/2024.06/file/0827c1b0-1fad-479d-xxxx-23a71d37744f/docker-compose.yml wget https://setup.mailu.io/2024.06/file/0827c1b0-1fad-479d-xxxx-23a71d37744f/mailu.env
cd /mailu docker compose -p mailu up -d
docker compose -p mailu exec admin flask mailu admin admin mail01.ichiayi.com 'My_12345Password'
docker compose pull && docker compose up -d
docker compose logs -f
listen = *
docker compose 重啟 smtp 服務即可解決