Xserver VPSでDebianサーバ構築/SMTPサーバ設定

提供: Medeshima wiki
ナビゲーションに移動 検索に移動

概要

次の表のとおりである。

メールサーバ Postfix

設定

証明書

$ sudo certbot certonly --webroot --webroot-path /var/www/html -d www.example.com

または

$ sudo certbot certonly --standalone -d www.example.com

Postfix設定

次のコマンドを実行し、以下の表の設定を行う。

$ sudo apt install postfix libsasl2-modules

※再設定する場合

$ sudo dpkg-reconfigure postfix