Dovecot 1.2 is available in [another iRedMail yum repository](https://dl.iredmail.org/yum/rpms/dovecot/), you should append below lines in `/etc/yum.repos.d/iRedMail.repo` to enable it:
Note: Because iRedMail-0.6.1 and earlier versions doesn't support dovecot-1.2, so we can't add this package in default yum repository, otherwise new installation of iRedMail (<=0.6.1) will be failed.
Remove dovecot-1.1. Be aware of below steps, we will update dovecot config based on config file of `dovecot-1.1`.
```
# cp /etc/dovecot.conf /etc/dovecot-1.1.conf
# rpm -e dovecot dovecot-sieve
warning: /etc/logrotate.d/dovecot saved as /etc/logrotate.d/dovecot.rpmsave
warning: /etc/dovecot.conf saved as /etc/dovecot.conf.rpmsave
Append `managesieve` in `protocols = ` section in `dovecot.conf`, like this:
```
protocols = pop3 pop3s imap imaps managesieve
```
*`[For Debian 5 (lenny)]` In `dovecot.conf`, move `sieve =` and `sieve_storage =` from section `protocol managesieve {}` to section `plugin {}`, and rename `sieve_storage` to `sieve_dir`:
```
plugin {
sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
sieve_dir = /var/vmail/sieve/%Ld/%Ln/
# ... SKIP OTHER SETTINGS HERE ...
}
```
## Re-enable RoundCube sieve rules
This is needed so your users will not loose all their RoundCube sieve rules.
You need to run the following commands to mass rename the RoundCube rules and repair their links: