Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Frank Elsner
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


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Charles Marcus
On 9/5/2008, Diego Ledesma ([EMAIL PROTECTED]) wrote:
 Today i installed Dovecot through apt-get (got version 1.0.rc17

This is entirely too old... upgrade.

-- 

Best regards,

Charles


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Diego Ledesma
On Sat, Sep 6, 2008 at 1:22 PM, Charles Marcus
[EMAIL PROTECTED] wrote:
 On 9/5/2008, Diego Ledesma ([EMAIL PROTECTED]) 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.


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Charles Marcus
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


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Diego Ledesma
On Sat, Sep 6, 2008 at 1:34 PM, Charles Marcus
[EMAIL PROTECTED] 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..


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Diego Ledesma
On Sat, Sep 6, 2008 at 1:46 PM, Diego Ledesma [EMAIL PROTECTED] wrote:
 On Sat, Sep 6, 2008 at 1:34 PM, Charles Marcus
 [EMAIL PROTECTED] 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..


Bad news for me... fesity-backports doesn't have a more recient
version of dovecot than the one i have installed...
Before starting this thread i googled for this issue and one person
said that he installed dovecot imap server (although he, as i do, only
needed dovecot-auth) and the error went away.
I will try this and see what happens... hope it doesn't break
something with my courier imap that's running on the server...


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Christopher J. Buckley

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/


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Frank Elsner
On Sat, 6 Sep 2008 13:23:54 -0200 Diego Ledesma wrote:
 On Sat, Sep 6, 2008 at 10:57 AM, Frank Elsner
 [EMAIL PROTECTED] 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, Cced here.


--Frank Elsner


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Diego Ledesma
On Sat, Sep 6, 2008 at 1:33 PM, Christopher J. Buckley
[EMAIL PROTECTED] 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).

 --
 Kind Regards,   ::   http://www.cjbuckley.net/
 Chris Buckley   ::   http://photos.cjbuckley.net/


Ok. thanks for that. I will try to contact Canonical about this issue.
I know can see that the person who installed the server didn't have a
clue what he was doing...

Thanks...


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Sahil Tandon
Frank Elsner [EMAIL PROTECTED] 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 imaps

The OP does not want Dovecot to act as an IMAP server; he just wants the 
auth functionality, so protocols = none is correct.

-- 
Sahil Tandon [EMAIL PROTECTED]


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Diego Ledesma
On Sat, Sep 6, 2008 at 2:21 PM, Frank Elsner
[EMAIL PROTECTED] wrote:
 On Sat, 6 Sep 2008 13:23:54 -0200 Diego Ledesma wrote:
 On Sat, Sep 6, 2008 at 10:57 AM, Frank Elsner
 [EMAIL PROTECTED] 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, Cced here.


 --Frank Elsner


Thanks Frank. I few moments ago i was wondering about that.
If set protocols to imap will i still get the dovecot sasl auth?
I'm asking that because i have the courier imap deamon running (for
squirrelmail) and installing dovecot-imap will replace it.

Thanks.
Diego.


Re: [Dovecot] Error starting dovecot

2008-09-06 Thread Christopher J. Buckley

Ok. thanks for that. I will try to contact Canonical about this issue.


The ubuntu forums are a good start; perhaps even the package maintainer 
might spot your post. Else, if its a bug, create a bug report in 
Canonical's Launchpad (NB: Bugzila/Launchpaid is NOT a replacement for 
the support process).



I know can see that the person who installed the server didn't have a
clue what he was doing...


They just choose the wrong operating system.  I would suggest that if 
this is a commercial server with mission critical apps, you contact a 
commercial Operating System Vendor who can advise you the right OS and 
packages to install/run. This, of course, will be backed by a full 
support process.


Good luck!

--
Kind Regards,   ::   http://www.cjbuckley.net/
Chris Buckley   ::   http://photos.cjbuckley.net/


[Dovecot] Error starting dovecot

2008-09-05 Thread Diego Ledesma
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.


[Dovecot] Error starting dovecot 1.0.0 /var/run/dovecot/auth-master failed: No such file or directory

2007-06-01 Thread Yashesh Bhatia

Hello:

  i'm trying a tutorial
(http://workaround.org/articles/ispmail-etch/en.html) for setting up
postfix / dovecot but am getting some errors when i try to start
dovecot

here's some details of the enviromnent. (Fedora Core 6)

$ uname -a
Linux foo.com 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006
i686 i686 i386 GNU/Linux
$ ./dovecot --version
1.0.0

$ ./dovecot -n
# /opt/dovecot-1.0.0/etc/dovecot.conf
protocols: imap imaps pop3 pop3s
ssl_disable: yes
login_dir: /opt/dovecot-1.0.0/var/run/dovecot/login
login_executable(default): /opt/dovecot-1.0.0/libexec/dovecot/imap-login
login_executable(imap): /opt/dovecot-1.0.0/libexec/dovecot/imap-login
login_executable(pop3): /opt/dovecot-1.0.0/libexec/dovecot/pop3-login
mail_location: maildir:/var/spool/foomail/%d/%n
mail_executable(default): /opt/dovecot-1.0.0/libexec/dovecot/imap
mail_executable(imap): /opt/dovecot-1.0.0/libexec/dovecot/imap
mail_executable(pop3): /opt/dovecot-1.0.0/libexec/dovecot/pop3
mail_plugin_dir(default): /opt/dovecot-1.0.0/lib/dovecot/imap
mail_plugin_dir(imap): /opt/dovecot-1.0.0/lib/dovecot/imap
mail_plugin_dir(pop3): /opt/dovecot-1.0.0/lib/dovecot/pop3
auth default:
 passdb:
   driver: pam
 passdb:
   driver: sql
   args: /opt/dovecot-1.0.0/etc/dovecot_sql.conf
 userdb:
   driver: passwd
 userdb:
   driver: static
   args: uid=721 gid=721 home=/var/spool/foomail/%d/%n allow_all_users=yes
 socket:
   type: listen
   client:
 path: /var/spool/postfix/private/auth
 mode: 432
 user: postfix
 group: postfix
   master:
 path: /var/run/dovecot/auth-master
 mode: 384
 user: foomail
$

now when i try to start dovecot it dies giving the following error
message in /var/log/maillog

Jun  1 20:30:16 foo dovecot: Dovecot v1.0.0 starting up
Jun  1 20:30:16 foo dovecot: auth(default):
bind(/var/run/dovecot/auth-master) failed: No such file or directory
Jun  1 20:30:16 foo dovecot: auth(default):
net_listen_unix(/var/run/dovecot/auth-master) failed: No such file or
directory
Jun  1 20:30:16 foo dovecot: Auth process died too early - shutting down
Jun  1 20:30:16 foo dovecot: child 9760 (auth) returned error 89

I've read the http://wiki.dovecot.org/CompilingSource but am stuck now
with this issue.
i also googled around a bit but could get any more information about
this problem.
any help is appreciated.

thanks in advance.

yashesh bhatia.


Go Pre
http://www2.localaccess.com/rlalonde/pre.htm