Ubuntu Edgy has a unbelievable serious bug which is open for a few month now and still unresolved. Cyrus-Imap does not work in Edgy. While Ubuntu still failed to fix this bug there is help in the community. \\ ===== The Bug ===== \\ \\ Jan 14 17:05:22 ihf2 cyrus/imap[17051]: incorrect version of Berkeley db: compiled against 4.3.29, linked against 4.4.20 Jan 14 17:05:22 ihf2 cyrus/imap[17051]: Fatal error: wrong db version Jan 14 17:05:22 ihf2 cyrus/pop3s[17060]: incorrect version of Berkeley db: compiled against 4.3.29, linked against 4.4.20 Jan 14 17:05:23 ihf2 cyrus/pop3s[17060]: Fatal error: wrong db version \\ \\ The solution can be found inside a discussion on a webforum [[https://bugs.launchpad.net/ubuntu/edgy/+source/cyrus-imapd-2.2/+bug/67111]]. There you will also find the background of this bug. \\ \\ I am free to quote the solution here - all credits go to Daniel Givens:\\ \\ - go to a directory of your choice - preferably "/usr/src" - Download {{knowwiki:cyrus-imap-ubuntu-edgy-patch.tar}} to this directory - "tar cv cyrus-imap-ubuntu-edgy-patch.tar". This will extract the control.diff - patch which simply changes the build-depends from libdb4.3-dev to libdb4.4-dev. - "apt-get source cyrus-imapd-2.2" - "apt-get build-dep cyrus-imapd-2.2" - "apt-get install libdb4.4-dev fakeroot" - "patch -p0 < control.diff" - "cd cyrus-imapd-2.2-2.2.13/" - "dpkg-buildpackage -rfakeroot -b" - "cd .." - "dpkg -i cyrus*.deb" \\ \\ Please note that you cannot patch and build the same tree twice. So if you get strange errors regarding paches during build you have to remove the whole stuff and start new.\\ \\ \\