[Dovecot] Login user doesn't exist: dovecot
After completely trashing my system a few days ago, I now have FC4 running, and have compiled dovecot-1.-beta1. Everything is placed in a different place from the debian install, so it's possible that I have a path problem.
Attempting to start dovecot in a root console brings up the line
Login user doesn't exist: dovecot
Advice, please?
Anne
Do you have a "dovecot" account in /etc/passwd?. It needs to be an unprivileged local user.
Chris
Anne Wilson wrote:
After completely trashing my system a few days ago, I now have FC4 running, and have compiled dovecot-1.-beta1. Everything is placed in a different place from the debian install, so it's possible that I have a path problem.
Attempting to start dovecot in a root console brings up the line
Login user doesn't exist: dovecot
Advice, please?
Anne
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Thursday 19 Jan 2006 11:06, Anne Wilson wrote:
Login user doesn't exist: dovecot
Advice, please?
The users are created by Debian when it installs the package, because the package maintainer takes care of these details.
If you build from source you'll need to add the relevant users, using "adduser" as per the documentation.
On Thursday 19 Jan 2006 11:14, Simon Waters wrote:
On Thursday 19 Jan 2006 11:06, Anne Wilson wrote:
Login user doesn't exist: dovecot
Advice, please?
The users are created by Debian when it installs the package, because the package maintainer takes care of these details.
If you build from source you'll need to add the relevant users, using "adduser" as per the documentation.
That makes sense. When I compiled the alpha release it was to update an already installed 0.99.14, so the user would have been there.
Now - could you please point me at the documentation for this? I thought I had grabbed all relevant docs, but I seem to have missed something. Chris says that it should be "an unprivileged local user", but I'm unclear exactly what that implies - in exactly how it differs from a normal user. I need the details, such as whether it needs specific UID, group, or password.
From your reply I'm sure this must all be documented somewhere, but where?
Thanks
Anne
On Thursday 19 Jan 2006 14:56, Anne Wilson wrote:
Now - could you please point me at the documentation for this?
On Thursday 19 Jan 2006 15:11, Simon Waters wrote:
On Thursday 19 Jan 2006 14:56, Anne Wilson wrote:
Now - could you please point me at the documentation for this?
Strange - I remember reading that before, but it's not in my pile of printout. Sorry about that.
Anne
Anne Wilson wrote:
On Thursday 19 Jan 2006 11:14, Simon Waters wrote:
Login user doesn't exist: dovecot
Advice, please? The users are created by Debian when it installs the package, because
On Thursday 19 Jan 2006 11:06, Anne Wilson wrote: the package maintainer takes care of these details.
If you build from source you'll need to add the relevant users, using "adduser" as per the documentation.
That makes sense. When I compiled the alpha release it was to update an already installed 0.99.14, so the user would have been there.
Now - could you please point me at the documentation for this? I thought I had grabbed all relevant docs, but I seem to have missed something. Chris says that it should be "an unprivileged local user", but I'm unclear exactly what that implies - in exactly how it differs from a normal user. I need the details, such as whether it needs specific UID, group, or password.
From your reply I'm sure this must all be documented somewhere, but where?
Thanks
Anne
The uid doesn't matter, Dovecot just wants a dedicated user account together with a group, typically called "dovecot" that isn't used for anything else (and ideally shouldn't even have a shell or password).
The Dovecot RPM sets this up with
groupadd -g 96 -r dovecot useradd -d /var/run/dovecot -s /bin/false -g dovecot -M -r -u 96 dovecot
(you might need "-m" instead of "-M"; my useradd seems to need this). This assumes nothing else is using UID 96 or GID 96.
Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Thursday 19 Jan 2006 15:12, Chris Wakelin wrote:
The uid doesn't matter, Dovecot just wants a dedicated user account together with a group, typically called "dovecot" that isn't used for anything else (and ideally shouldn't even have a shell or password).
The Dovecot RPM sets this up with
groupadd -g 96 -r dovecot useradd -d /var/run/dovecot -s /bin/false -g dovecot -M -r -u 96 dovecot
(you might need "-m" instead of "-M"; my useradd seems to need this). This assumes nothing else is using UID 96 or GID 96.
-m or -M seems to define whether it needs a home directory creating.
I've assumed that it doesn't. Correct?
Now I'm seeing
Can't use login executable /usr/local/lib/dovecot/imap.login: No such file or directory.
It doesn't appear to be a path problem, either. slocate can't find it.
Anne
Registered Linux User No.293302 (http://counter.li.org/)
On Thu, 2006-01-19 at 15:49 +0000, Anne Wilson wrote:
Can't use login executable /usr/local/lib/dovecot/imap.login: No such file or directory.
So, why have you configured it as "imap.login"? :) The default and the correct binary is imap-login.
If you didn't give any parameters to configure, it should be in /usr/local/libexec/dovecot/imap-login
On Thursday 19 Jan 2006 20:44, Timo Sirainen wrote:
On Thu, 2006-01-19 at 15:49 +0000, Anne Wilson wrote:
Can't use login executable /usr/local/lib/dovecot/imap.login: No such file or directory.
So, why have you configured it as "imap.login"? :)
I didn't. In truth, I'm not sure now that it wasn't a typo, as the laptop has been shut down since then. The message I'm getting now refers to imap-login as the missing file.
The default and the correct binary is imap-login.
If you didn't give any parameters to configure, it should be in /usr/local/libexec/dovecot/imap-login
I have no idea what has gone wrong here. I did not give any parameters at all. The 1.0alpha5 install went into the /usr/local/libexec tree, as you say, but this went into /usr/local/lib. There is no imap-login, nor is there an executable called imap.
I think that maybe I should uninstall it and start again.
Anne
Registered Linux User No.293302 (http://counter.li.org/)
Create a user name dovecot along wih a dovecot group.
Hope it helps On Thu, 19 Jan 2006, Anne Wilson wrote:
Date: Thu, 19 Jan 2006 11:06:29 +0000 From: Anne Wilson <cannewilson@tiscali.co.uk> To: dovecot@dovecot.org Subject: [Dovecot] Login user doesn't exist: dovecot
After completely trashing my system a few days ago, I now have FC4 running, and have compiled dovecot-1.-beta1. Everything is placed in a different place from the debian install, so it's possible that I have a path problem.
Attempting to start dovecot in a root console brings up the line
Login user doesn't exist: dovecot
Advice, please?
Anne
-- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr
Make your life a dream, make your dream a reality. (St Exupery)
participants (5)
-
Anne Wilson
-
Chris Wakelin
-
ohp@pyrenet.fr
-
Simon Waters
-
Timo Sirainen