[Dovecot] Best way to upgrade from 1.0a4 to 1.0a5

Andy Cravens acravens at uen.org
Wed Dec 14 06:28:56 EET 2005


It depends on if you are compiling from source or using an rpm or other
package manager?  If you compile from source you can select the desired
install directory.  

Personally, I install under /opt/dovecot-version and then make a symbolic
link named /opt/dovecot which points to the version I'm currently
using.  All my startup/shutdown scripts look at /opt/dovecot

If you plan on upgrading often, it's a good idea to keep several
versions of the software on hand in case you have to go back.  

I just upgraded today.  All I had to do was compile and install in
/opt/dovecot-1.0alpha5, delete the existing symbolic link and repoint to
/opt/dovecot-1.0alpha5 and restart dovecot.  To switch back you just
point the symbolic link back to the old directory and restart dovecot. 
Takes less than 10 seconds to switch versions if you type fast.

Of course, it's a good idea to check the release notes to make sure your
existing config file will work with the newer version.  I had a minor
problem going from alpha3 to alpha4 because of a config problem.  I was
able to switch back quickly and correct the problem and then go forward
again.



On 12/14/2005, "Cliff Hayes" <chayes at afo.net> wrote:

>Hello all,
>
>I have 1.0 Alpha 4.  Is it better to shut down sendmail, uninstall dovecot
>1.0a4 then install 1.0a5, or just install 1.0a5 over the top of 1.0a4?
>
>Thanks,
>
>Clif



More information about the dovecot mailing list