Dovecot 2.2.x on Centos 6 (iredmail compatible)

Remove Conflicts

yum remove dovecot-pigeonhole managesieve-login dovecot-managesieve

Stop Dovecot

service dovecot stop

Install Wing Repo

cd /etc/yum.repos.d/
wget http://wing-repo.net/wing/6/EL6.wing.repo

Install Dovecot 2.2.x

yum –enablerepo=wing install dovecot dovecot-pigeonhole dovecot-mysql dovecot-devel

Note: for postgresql suppost
yum –enablerepo=wing install dovecot-pgsql

Remove unsupported config options/plugins from /etc/dovecot.conf

Remove plugin fts_solr
Remove/comment out

plugin {
fts = solr
#break-imap-search will use solr for indexing TEXT and BODY searches.
fts_solr = break-imap-search url=http://127.0.0.1:8983/solr/
fts_autoindex = yes
}

Remove all instances of fts_solr from the mailplugins

mail_plugins = $mail_plugins fts fts_solr

–>

mail_plugins = $mail_plugins fts

Remove plugin autocreate
Remove/Comment Out

# Plugin: autocreate. Create and subscribe to default IMAP folders.
autocreate = INBOX
autocreate2 = Sent
autocreate3 = Trash
autocreate4 = Drafts
autocreate5 = Junk
autosubscribe = INBOX
autosubscribe2 = Sent
autosubscribe3 = Trash
autosubscribe4 = Drafts
autosubscribe5 = Junk

Remove all instances of autocreate from the mailplugins

mail_plugins = $mail_plugins sieve autocreate zlib
mail_plugins = $mail_plugins imap_quota autocreate imap_zlib zlib imap_acl

–>

mail_plugins = $mail_plugins sieve zlib
mail_plugins = $mail_plugins imap_quota imap_zlib zlib imap_acl

Add the following options, this will secure your dovecot ssl implementation

ssl_prefer_server_ciphers = yes
ssl_dh_parameters_length = 2096

Delete Zlib as this is now built-in
rm -f /usr/lib64/dovecot/doveadm/lib10_doveadm_zlib_plugin.so

Start Dovecot

service dovecot start

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *