「Xserver VPSでDebianサーバ構築/IMAPサーバ設定」の版間の差分
ナビゲーションに移動
検索に移動
(→概要) |
(→設定) |
||
43行目: | 43行目: | ||
<nowiki> |
<nowiki> |
||
ssl_cert = </etc/letsencrypt/live/mail. |
ssl_cert = </etc/letsencrypt/live/mail.example.com/fullchain.pem |
||
ssl_key = </etc/letsencrypt/live/mail. |
ssl_key = </etc/letsencrypt/live/mail.example.com/privkey.pem |
||
</nowiki> |
</nowiki> |
2023年4月19日 (水) 13:38時点における版
概要
次の表のとおりである。
IMAPサーバ | Dovecot |
設定
$ sudo apt install dovecot-imapd
- /etc/dovecot/conf.d/10-master.conf
service imap-login { inet_listener imap { #port = 143 } inet_listener imaps { port = 993 ssl = yes } service auth { # Postfix smtp-auth unix_listener /var/spool/postfix/private/auth { mode = 0666 }
- /etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/Maildir
- /etc/dovecot/conf.d/10-ssl.conf
ssl_cert = </etc/letsencrypt/live/mail.example.com/fullchain.pem ssl_key = </etc/letsencrypt/live/mail.example.com/privkey.pem