[Dovecot] How Can I Tell How Dovecot Was Installed?

Roderick A. Anderson raanders at acm.org
Wed Aug 20 17:54:43 EEST 2008


Blake Carver wrote:
> Thanks Rod,
> 
> So I guess my big question here is, how do I upgrade this sucker?
> I'd love to just use an RPM, but if this was originally installed via
> source will I mess it up?
> When I do rpm -qa | grep dovecot I get dovecot-1.0-1.2.rc15.el5

I think the default for RHEL 5. CentOS 5, etc.


> BUT
> dovecot --version shows me a different #

Meaning your are not running the RPM installed version.

> 
> On Tue, Aug 19, 2008 at 5:15 PM, Roderick A. Anderson <raanders at acm.org> wrote:
>> Unless, like he said above it may have been installed via a tarball.
>>  dovecot --version
>> You should and see if there is more than one installed and
> 
> So --version shows just one version, 1.0.3 (pretty damn old)
> 
>> So try a 'which dovecot' to see if you have more than one installed. And if
>> there is more than one look in /etc/init.d (for SysV-type systems - YMMV)
>> for a dovecot file and see which one it is calling.
> 
>  'which dovecot' just gives me /usr/local/sbin/dovecot
> 
> Taking a look at /etc/init.d/dovecot shows me it's staring Dovecot
> using /usr/local/sbin/dovecot

My guess (without know what "dovecot --version" reported) would be that 
you are probably running a tarball installed version.

A quick check of the repositories, including rpmforge, indicates the 
latest "official distribution" version is 1.0.7-2.el5.

To get the latest and greatest you'll have to either build your own RPM 
or do a tarball install.


Good computing,
Rod
-- 

> and
> ps auxw | grep dovecot does show that's the one that's running
> /usr/local/sbin/dovecot



More information about the dovecot mailing list