Hello, I have a linux system (Ubuntu 7.04 server edition) running Postfix 2.3.8 Today i installed Dovecot through apt-get (got version 1.0.rc17 installed) and configured it to do sasl auth only, (i already have other pop3,smtp and imap servers running) following the howto's at dovecot.org The thing is that if i try to start dovecot or run dovecot -n i get this message: Error: Can't use mail executable /usr/lib/dovecot/imap: No such file or directory That directory does not exist but why should it if i don't want to run dovecot as imap? I only installed dovecot-common package. Also, i setted protocols to "none". Does anyone know why i get that error message? One last comment. Before installing dovecot on the production mail server i installed it on my laptop's linux (Ubuntu 8.04 LTS) for testing purposes. The testing mail server runs Postfix 2.5.1 and Dovecot 1.0.10 and in this case Dovecot runs fine (the /usr/lib/dovecot/imap directory does also not exist and dovecot.conf is configured exactly on both servers). This are the uncommented parts of dovecot.conf #Only use dovecot-auth protocols = none disable_plaintext_auth = no log_timestamp = "%Y-%m-%d %H:%M:%S " mail_location = maildir:~/Maildir mail_privileged_group = mail protocol imap { } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } auth default { mechanisms = plain login passdb passwd-file { args = /etc/passwd.dovecot } passdb pam { } userdb passwd { } user = root socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } } dict { } plugin { } ---- Any help is greatly appreciated. Thanks. Diego.
On Fri, 5 Sep 2008 20:09:07 -0300 Diego Ledesma wrote: [ ... ]> I only installed dovecot-common package. > Also, i setted protocols to "none". > > Does anyone know why i get that error message?Protocols "none" also means no "imap". BTW ... imap is a protocol :-) --Frank Elsner
On 9/5/2008, Diego Ledesma (diegofl at gmail.com) wrote:> Today i installed Dovecot through apt-get (got version 1.0.rc17This is entirely too old... upgrade. -- Best regards, Charles
On Sat, Sep 6, 2008 at 1:22 PM, Charles Marcus <CMarcus at media-brokers.com> wrote:> On 9/5/2008, Diego Ledesma (diegofl at gmail.com) wrote: >> Today i installed Dovecot through apt-get (got version 1.0.rc17 > > This is entirely too old... upgrade. > > -- > > Best regards, > > Charles >I did an apt-get update before installing Dovecot. Do you know what should i do to upgrade Dovecot? Thanks.
On 9/6/2008 11:30 AM, Diego Ledesma wrote:>>> Today i installed Dovecot through apt-get (got version 1.0.rc17>> This is entirely too old... upgrade.> I did an apt-get update before installing Dovecot. > Do you know what should i do to upgrade Dovecot?Use backports? -- Best regards, Charles
On Sat, Sep 6, 2008 at 1:34 PM, Charles Marcus <CMarcus at media-brokers.com> wrote:> On 9/6/2008 11:30 AM, Diego Ledesma wrote: >>>> Today i installed Dovecot through apt-get (got version 1.0.rc17 > >>> This is entirely too old... upgrade. > >> I did an apt-get update before installing Dovecot. >> Do you know what should i do to upgrade Dovecot? > > Use backports? > > -- > > Best regards, > > Charles >Ok. I did apt-get install dovecot and it says that i have the most recient version of Dovecot?? I know that recient versions of my linux system come with recient versions of postfix and Dovecot. Would i break something if i try to install those versions on my linux version? I will try the backports approach... Thanks..
Diego,> Ok. I did apt-get install dovecot and it says that i have the most > recient version of Dovecot?? > I know that recient versions of my linux system come with recient > versions of postfix and Dovecot. > Would i break something if i try to install those versions on my linux version? > > I will try the backports approach...My personal opinion on this is that you should contact your OS vendor (in your case, Canonical) for assistance. They have packaged a specific Dovecot version, and will backport upstream fixes as appropriate. The contributors here are unable to help you; we would have to look at the ubuntu changelogs to see what upstream fixes have been backported to that your Feisty dovecot package. That said, my second personal opinion is that you are running an *entirely* inappropriate OS for server tasks. If you wish to use Ubuntu, you should be using 6.06-server LTS or 8.04-server LTS. Using a 7.04, which is an interim release, and barely "supported" (I use the word loosely) for more than 12 months is going to get you into exactly these problems. If you want to run a server OS, use one that gives you more than 5 years support (and backported upstream fixes). -- Kind Regards, :: http://www.cjbuckley.net/ Chris Buckley :: http://photos.cjbuckley.net/
On Sat, 6 Sep 2008 13:23:54 -0200 Diego Ledesma wrote:> On Sat, Sep 6, 2008 at 10:57 AM, Frank Elsner > <frank at moltke28.b.shuttle.de> wrote: > > On Fri, 5 Sep 2008 20:09:07 -0300 Diego Ledesma wrote: > > > > [ ... ] > > > >> I only installed dovecot-common package. > >> Also, i setted protocols to "none". > >> > >> Does anyone know why i get that error message? > > > > Protocols "none" also means no "imap". > > > > BTW ... imap is a protocol :-) > > > > > > --Frank Elsner > > > > Oh. According to the comments in my dovecot.conf setting protocols to > "none" means that only dovecot-auth is enabled... > What should i write under Protocols to just enable that?My dovecot.conf contains protocols = imap imaps BTW, Please keep the thread on the mailing list, "Cc"ed here. --Frank Elsner
Frank Elsner <frank at moltke28.B.Shuttle.DE> wrote:> > Oh. According to the comments in my dovecot.conf setting protocols to > > "none" means that only dovecot-auth is enabled... > > What should i write under Protocols to just enable that? > > My dovecot.conf contains > protocols = imap imapsThe OP does not want Dovecot to act as an IMAP server; he just wants the auth functionality, so "protocols = none" is correct. -- Sahil Tandon <sahil at tandon.net>
Hello The most recent debianized dovecot I know of is in the ubuntu intrepid tree. You can download their source packages and compile on any debian platform and get fairly up to date packages. Think they were up to 1.1.2 last I saw. -Roger Christopher J. Buckley wrote:> Diego, > >> Ok. I did apt-get install dovecot and it says that i have the most >> recient version of Dovecot?? >> I know that recient versions of my linux system come with recient >> versions of postfix and Dovecot. >> Would i break something if i try to install those versions on my >> linux version? >> >> I will try the backports approach... > > My personal opinion on this is that you should contact your OS vendor > (in your case, Canonical) for assistance. They have packaged a > specific Dovecot version, and will backport upstream fixes as > appropriate. The contributors here are unable to help you; we would > have to look at the ubuntu changelogs to see what upstream fixes have > been backported to that your Feisty dovecot package. > > That said, my second personal opinion is that you are running an > *entirely* inappropriate OS for server tasks. If you wish to use > Ubuntu, you should be using 6.06-server LTS or 8.04-server LTS. Using > a 7.04, which is an interim release, and barely "supported" (I use the > word loosely) for more than 12 months is going to get you into exactly > these problems. > > If you want to run a server OS, use one that gives you more than 5 > years support (and backported upstream fixes). >
Steffen Kaiser
2008-Sep-08 06:40 UTC
[Dovecot] Compiling Dovecot on Debian (was Re: Error starting dovecot)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 7 Sep 2008, R A wrote:> The most recent debianized dovecot I know of is in the ubuntu intrepid tree. > You can download their source packages and compile on any debian platform and > get fairly up to date packages. Think they were up to 1.1.2 last I saw.Dovecot was simple on Etch: apt-get build-dep dovecot (I cannot remember if the default pulls all and every dev package, e.g. for all supported databases.) downloaded the source ./configure --help | more ./configure [bunch of options] make && make install downloaded dovecote-sieve ./configure --help | more ./configure --with-dovecot=../dovecot-1.0 make && make install Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIxMjOVJMDrex4hCIRAqYyAJ9idpUjhAYozdctPolDIYExUmT8XgCfdusu sPgIZwbBfJzysMhUhhV3WpE=w0aD -----END PGP SIGNATURE-----