「Xserver VPSでDebianサーバ構築/SMTPサーバ設定」の版間の差分
ナビゲーションに移動
検索に移動
(→証明書) |
(→証明書) |
||
20行目: | 20行目: | ||
<nowiki> |
<nowiki> |
||
$ sudo certbot certonly --standalone -d www.example.com |
$ sudo certbot certonly --standalone -d www.example.com |
||
</nowiki> |
|||
== Postfix設定 == |
|||
次のコマンドを実行し、以下の表の設定を行う。 |
|||
<nowiki> |
|||
$ sudo apt install postfix libsasl2-modules |
|||
</nowiki> |
|||
※再設定する場合 |
|||
<nowiki> |
|||
$ sudo dpkg-reconfigure postfix |
|||
</nowiki> |
</nowiki> |
2023年4月19日 (水) 02:58時点における版
概要
次の表のとおりである。
メールサーバ | 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