Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using ubuntu 12.04 and dovecot version is 1.2.9, I want to upgrade my dovecot version from 1.2.9 to 2.1.7

share|improve this question
What's your question? Have you tried doing the upgrade? – D_Bye Jun 26 '12 at 7:08
yes. but remember 1.2.9 version is running on server and just want to upgrade 2.1.7 – Jahanzeb Jun 26 '12 at 7:33
Again, what is your question? You are not asking anything. It is just a statement. – D_Bye Jun 26 '12 at 8:32
Dear, How can i upgrade dovecot version, currently using 1.2.9 and want to update it on 2.1.7 – Jahanzeb Jun 26 '12 at 9:25
wiki2.dovecot.org/Upgrading – D_Bye Jun 26 '12 at 9:34

If you do not want to install dovecot from source, first search for a available backport of your package (see https://help.ubuntu.com/community/UbuntuBackports).

If there is no backport available for your version, you can also try to install a version from a later version and resolve the dependencies by hand.

Download your file from http://packages.ubuntu.com/quantal/dovecot-core and then do sudo dpkg -i dovecot-core_2.1.7-1ubuntu1_i386.deb. You may also look into apt pinning for that.

share|improve this answer
+1 for solving by Ubuntu repository... – Jan Marek Jun 26 '12 at 12:16

Run this:

cd /tmp
wget http://dovecot.org/releases/2.1/dovecot-2.1.7.tar.gz
tar -zxvf dovecot-2.1.7.tar.gz
cd dovecot-2.1.7
sudo apt-get build-dep dovecot-core -y </dev/null
sudo make install
sudo /etc/init.d/dovecot restart
dovecot --version
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.