postfixなしでMailまたはMailutilsをインストールする

postfixなしでMailまたはMailutilsをインストールする

ポート25にバインドされたpostfixリレードッカーコンテナを設定しました。mailホストCLIのコマンドを使用できますが、それを介してインストールするmailutilsたびaptpostfixインストールしたいと思います。

インストールせずにコマンドに直接mailutilsアクセスできるように、どのようにインストールしますか?mailpostfix

ベストアンサー1

apt update
apt purge postfix mailutils -y
apt autoremove -y
rm /etc/postfix/ -R
reboot

apt install mailutils sendmail -y
apt purge postfix -y
apt autoremove -y
systemctl stop sendmail
systemctl disable sendmail
reboot

おすすめ記事