差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
| 软件:email [2025/12/07 14:58] – [依赖] admin | 软件:email [2026/01/02 00:57] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 24: | 行 24: | ||
| <code -> | <code -> | ||
| - | sudo apt-get update | + | sudo apt update |
| - | sudo apt-get install postfix | + | sudo apt install postfix |
| sudo dpkg-reconfigure postfix | sudo dpkg-reconfigure postfix | ||
| General type of mail configuration: | General type of mail configuration: | ||
| 行 38: | 行 38: | ||
| Local address extension character: + | Local address extension character: + | ||
| Internet protocols to use: all | Internet protocols to use: all | ||
| + | |||
| + | #方法二 | ||
| + | sudo vi / | ||
| + | myhostname = example.com | ||
| + | alias_maps = hash:/ | ||
| </ | </ | ||
| 行 64: | 行 69: | ||
| sudo apt install php php-mysql php-gd php-mbstring php-xml php-intl php-curl | sudo apt install php php-mysql php-gd php-mbstring php-xml php-intl php-curl | ||
| </ | </ | ||
| - | |||
| ===== sql ===== | ===== sql ===== | ||
| 行 102: | 行 106: | ||
| } | } | ||
| </ | </ | ||
| - | |||
| ===== 部署 ===== | ===== 部署 ===== | ||