# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-514.10.2.el7.x86_64 x86_64 CentOS Linux release
7.3.1611 (Core)
auth_mechanisms = plain login
#auth_verbose=yes
#auth_debug=yes
#auth_debug_passwords=yes
#mail_debug=yes
#auth_verbose_passwords=plain
#disable_plaintext_auth = no
first_valid_uid = 1000
listen = mail.robinson-west.com
mail_access_groups = mail
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
plugin {
autocreate = Trash
autocreate2 = Junk
autocreate3 = Drafts
autocreate4 = Sent
autosubscribe = Trash
autosubscribe2 = Junk
autosubscribe3 = Drafts
autosubscribe4 = Sent
}
protocols = imap
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
}
service imap-login {
inet_listener imap {
port = 0
}
}
ssl = yes
#ssl_protocols = !SSLv2 !SSLv3
#ssl_cipher_list=HIGH:!IDEA:!aNULL:!eNULL:!MD5:!ADH:!EXP:!PSK:!aECDH:!3
DES
#ssl_prefer_server_ciphers = yes
ssl_cert = </etc/pki/dovecot/certs/mail.crt
ssl_key = </etc/pki/dovecot/private/mail.key
#ssl_dh_parameters_length = 2048
#ssl_parameters_regenerate = 5 days
verbose_ssl=yes
userdb {
driver = passwd
}
Please note that:
ssl_cipher_list,
ssl_protocols,
ssl_prefer_server_ciphers,
ssl_dh_parameters_length, and
ssl_parameters_regenerate are commented out.
Roundcube works with this configuration.
I do ssl://mail.robinson-west.com and set the default
port to 993 in config.inc.php. I added my fake mail
server cert to my Apache web server bundle. Seems
to be necessary to make this work, though I might
want to get a real certificate for my mail server.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug