為什麼 Ubuntu 20.04 上的 mailutils 不再包含 Postfix?

為什麼 Ubuntu 20.04 上的 mailutils 不再包含 Postfix?

我嘗試在 ubuntu 20.04 上安裝 postfix,但 postfix 設定畫面無法啟動,並且沒有錯誤訊息:

user@leo:~$ sudo apt-get install mailutils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mailutils is already the newest version (1:3.7-2.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

user@leo:~$ sudo dpkg-reconfigure postfix
dpkg-query: package 'postfix' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
/usr/sbin/dpkg-reconfigure: postfix is not installed

mailutils 不再包含 postfix 了嗎?

答案1

Ubuntu 根本沒有改變。它仍然會安裝 postfix 作為 mailutils 的依賴項,如果您尚未安裝其他郵件傳輸代理

包裹列出其相依性:


postfix 提供的default-mta虛擬包
或 postfix 提供的 mail-transport-agent
虛擬包[顯示15個提供套餐]

由於您已將 postfix 替換為列出的軟體包之一,因此不會安裝它。如果您確實需要 postfix,則需要在安裝 postfix 之前刪除其他 MTA。

答案2

顯然這很簡單:apt install postfix

相關內容