Migrating to Dovecot EE

2014-10-10 Thread Philipp Resch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello everyone!

I am currently running dovecot 2.2.9 on my Debian Wheezy system.
As this version is a bit outdated and I'm not too keen on compiling
Dovecot myself I was thinking about moving to the Dovecot EE
repository. I already have access to the repository, and now before I
starting apt-getting all kinds of packages: What would be the best
way on moving to the Dovecot EE repository? Just doing an apt-get
install dovecot-ee? Will it replace the current version? Or should the
old version be removed before installing the new one?
Has anyone ever done this and has some advice for me?

Thanks in advance,
Philipp
-BEGIN PGP SIGNATURE-

iQEcBAEBAgAGBQJUN50yAAoJEC6sCbYfpzg9ilcH/iREEyhyygKEVrCyLRjutcLm
iLa63KHCFGFjU3b5igZFD+Jv1uZmHfyLh+ZFz0ditHmS1jbNE49WKGawAuoBb3lv
VqMCex3qsOA9OVdAbPYUCecs7K18Oo8DjwFpI4Sn70flsaFpo3JS32I/dZ9OMF7d
p9O/G1PfJ4mw4zWC0HGgE7kluYytPBJTw2rqqAyjHXypQhcpiF+HHtFm/pX9SF4U
b4K5YqfFJE/Bk7YYEdnQFyribcDxkllIzeAt09EhpEwZHK8MTWi92PwnHDcTX3M4
P7JnmSO3YtfSphbqDOFZgAYz2otEAPgysXu3v4asLkcoiPQb/H7hUlcNZyzLeIo=
=fu6j
-END PGP SIGNATURE-


Re: Migrating to Dovecot EE

2014-10-10 Thread Sven Hartge
Philipp Resch phil...@devh.de wrote:

 I am currently running dovecot 2.2.9 on my Debian Wheezy system.  As
 this version is a bit outdated and I'm not too keen on compiling
 Dovecot myself I was thinking about moving to the Dovecot EE
 repository. I already have access to the repository, and now before I
 starting apt-getting all kinds of packages: What would be the best
 way on moving to the Dovecot EE repository? Just doing an apt-get
 install dovecot-ee? Will it replace the current version? Or should the
 old version be removed before installing the new one?  Has anyone ever
 done this and has some advice for me?

I've done it like this:

1) backup /etc/dovecot
2) purge old dovecot packages
   This removes all dovecot internal users, but do not worry, they
   will be recreated by the dovecot-ee packages.
   This also deletes all config files, but you have a backup from step 1.
3) install dovecot-ee packages
4) put config files from backup back to /etc/dovecot

Beware: the pacakge system allows you to replace the old dovecot
packages with the dovecot-ee packages, but due to the way the Debian
package system works, this will wreck your dovecot-configuration once
you finally purge the old packages, because then this also purges the
old config files and deletes the dovecot-internal users (like dovenull).

This is why it is very important to _first_ delete _and_ purge the old
packages before installation of the dovecot-ee packages.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.