Dovecot[edit]
Dovecot 設定†[edit]
IMAPS (pam)†[edit]
dovecot.conf†[edit]
conf.d/10-auth.conf†[edit]
- disable_plaintext_auth = no
conf.d/10-mail.conf†[edit]
- mail_location = maildir:~/Maildir
conf.d/10-ssl.conf†[edit]
# openssl dhparam -out /etc/dovecot/dh.pem 4096
- ssl = required
- ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
- ssl_key = </etc/pki/dovecot/private/dovecot.pem
- ssl_dh = </etc/dovecot/dh.pem
firewalld†[edit]
- firewall-cmd --add-service=imaps --permanent
- firewall-cmd --reload
* imap-login: Error: Failed to initialize SSL server context: Can't load DH parameters (ssl_dh setting): error:1408518A:SSL routines:ssl3_ctx_ctrl:dh key too small†[edit]
SSL なし POP3 (IPv4, shadow)†[edit]
dovecot.conf†[edit]
- protocols = pop3
- listen = *
conf.d/10-auth.conf†[edit]
- disable_plaintext_auth = no
conf.d/10-mail.conf†[edit]
- mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u
- mail_access_groups = mail
conf.d/10-ssl.conf†[edit]
conf.d/auth-system.conf.ext†[edit]
- passdb { driver = shadow }