bash: doveconf: command not found

Hello!

I am currently attempting to follow this guide:

~~[https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql" target="_blank">](https://library.linode.com/email/postfi … 0.19-mysql">https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql](

For Email with Postfix, Dovecot, and MySQL. Everything worked fine until the Dovecot section. I didn't have most of the files in my installation that it had in the tutorial and after some reasearch found out that I installed version 1.2.9 which seems to be the latest build for my version of Ubuntu, 10.04.4 LTS. So long story short, I tried to upgrade to dovecot V2 on my email server and found their instructions to upgrade. However, when I run doveconf I get the following message on terminal:

bash: doveconf: command not found

I originally thought dovecot was not running, however, I confirmed dovecot is running by typing dovecot in terminal. I am also able to telnet localhost as in the dovecot testintallation page on the dovecot website:

http://wiki.dovecot.org/TestInstallation

I really am stumped on what could be wrong with the doveconf command. I also uninstalled dovecot as a last ditch effort to fix this but still obtained the same errors after a re-install.

Any advice is greatly appreciated! Thank you for your time!

3 Replies

That guide is written for Ubuntu 12.04, using Dovecot 2.0.19. You noted that you're on Ubuntu 10.04 with Dovecot 1.2.9. There are major differences between how Dovecot v1 and v2 are configured.

Depending on where you installed v2 from, you may run into problems with it not integrating well with other software on the system. My inclination would be to stick with the v1 package that comes with your version of Ubuntu and look for a guide which discusses v1, like this one for Debian 6. Or you could upgrade your system to Ubuntu 12.04 and follow the original guide exactly.

Hmm…is it not possible to use Dovecot V2 on my current version of Ubuntu? I chose to use doveconf after looking up this guide on the dovecot wiki:

http://wiki2.dovecot.org/Upgrading/2.0

I attempted to try the old config to new config commands but got the error mentioned in this topic when trying to use doveconf.

@Schaden:

Hmm…is it not possible to use Dovecot V2 on my current version of Ubuntu?

Not if you want to use the official repositories, you'd have to use a 3rd party repo or compile it yourself neither is recommended. Or you could upgrade to 12.04 which IMHO is just as stable (if not more) than 10.04 and has a better feature set.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct