Linode Postfix guide produces error @ Dovecot config


I am following the "Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS (Lucid)" guide, and have gotten to the "Configure Dovecot" stage.

When performing the step (about 2/3 down the page):


Issue the following command to make a backup copy of your /etc/dovecot/dovecot.conf file.

sudo cp -a /etc/dovecot/dovecot.conf /etc/dovecot/dovecot.conf.bak

my consol returns an ERROR stating there is no such file or directory.

I checked the apt-get command that's shown at the beginning of the guide to confirm Dovecot was installed, and it seems to be there (or at least some of its libraries):

apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server dovecot-common dovecot-imapd dovecot-pop3d postfix libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl telnet mailutils

Is there an omission in the apt-get statement? Or, what else would be causing the problem?



5 Replies

Which distribution are you using when following this article?


Ok, I've found my problem.

I was following the "Manage an Ubuntu 10.04 (Lucid) VPS with ISPConfig Guide", which referred me to the "Email with Postfix, Dovecot and MySQL on Ubuntu 10.04 LTS (Lucid)" Guide to setup Postfix. Where I went to and proceeded to carry out all the steps in that guide.

I opened this thread when I got the error, and have been trying to figure out why since.

After realising the apt-get install commands in the two guides are not the same, I decided to install the missing packages from the later guide.

Turns out that Courier and Dovecot cannot be coresident on the same server.

I want to run ISPConfig (and Webmin, which I will be installing next).

Go with Courier or Dovecot?

After resolving this issue, my plan is to return to the ISPConfig guide and continue with the other packages outlined there.

Can someone please advise me what to do? (Or give a link which discusses this issue.)



I know Dovecot 2 is pretty awesome, but not available in Ubuntu 10.04 LTS. I think it's only in Ubuntu 11.10 (maybe 11.04) and newer? The one problem I'm aware of, if it has not been fixed yet, is a nasty memory leak when using Saslauthd with Courier.


Thnx Tim,

Since I'm VERY new to Linux, I rather stick with the guides Linode's provided (or as a fallback, as I've done so in the past, the excellent guides at HowToForge). My goal here is to get a production server running in the most expedient manner. Thus I can get more done in a shorter time, with fewer questions to the staff and community.

Once my server is running, I can do research off-line on a seperate machine without having any pressures on me. This might lead me to upgrade my server setup here, but at least in the meantime, I'm online. Your advice will come in handy then. :)

For the moment, Linode support staff (through a ticket I raised) indicated that going with Dovecot is probably better (Courier is apparently depricated) and ISPConfig will work with either.




Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct