Hi all
I just compiled Dovecot v1.0-test70 and i tried using the dovecot-example.conf for a quick test to see if the daemon would work.
But I keep getting the following error message in me /var/log/messages:
May 17 12:33:46 mail dovecot: Dovecot v1.0-test70 starting up May 17 12:33:47 mail dovecot: Auth process died too early - shutting down May 17 12:33:47 mail dovecot: auth(default): No password databases set May 17 12:33:47 mail dovecot: child 29405 (auth) returned error 89
This is is a section in my conf file.
auth default {
mechanisms = plain auth_userdb = passwd auth_passdb = pam #auth_userdb = passwd #auth_passdb = pam #userdb = /etc/passwd #passdb = /etc/passwd
# passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot # args= /etc/passwd # }
# /etc/passwd or similar, using getpwnam() # In many systems nowadays this uses Name Service Switch, which is # configured in /etc/nsswitch.conf. # passdb passwd { # args= /etc/passwd # }
# /etc/shadow or similiar, using getspnam(). Deprecated by PAM nowadays. # passdb shadow { # args= /etc/shadow # }
# passwd-like file with specified location #passdb passwd-file { #}
userdb passwd { }
# passwd-like file with specified location #userdb passwd-file { # Path for passwd-file #args = #}
# Path for passwd-file
#args =
#}
# checkpassword executable authentication #passdb checkpassword { # Path for checkpassword binary #args = #}
If anyone has some advice or tips, it would greatfully be appreciated.
Kind Regards Brent Clark
On Tue, 2005-05-17 at 13:06 +0200, Brent Clark wrote:
May 17 12:33:47 mail dovecot: auth(default): No password databases set
passdb { .. } section isn't given.
auth_userdb = passwd auth_passdb = pam
I thought having these would just give errors?..
# passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot # args= /etc/passwd # }
This shouldn't be commented out if you want to use pam as passdb.
Timo Sirainen wrote:
passdb { .. } section isn't given.
auth_userdb = passwd auth_passdb = pam
I thought having these would just give errors?..
# passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot # args= /etc/passwd # }
This shouldn't be commented out if you want to use pam as passdb.
Hi
Thanks for your help, I tried what you suggested, and I still seem to not getting it right.
passdb { args=/etc/passwd }
passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot args= /etc/passwd }
Any tips and or advice would be greatly appreciated.
Kind Regards Brent Clark
On Tue, 2005-05-17 at 13:37 +0200, Brent Clark wrote:
Thanks for your help, I tried what you suggested, and I still seem to not getting it right.
passdb { args=/etc/passwd }
passdb pam { # Service name or * as parameter. * means the authenticating service name # is used, eg. pop3 or imap. #args = dovecot args= /etc/passwd }
well, just remove all that and keep:
passdb pam { }
You can't tell PAM to use /etc/passwd, you can only tell it to use a specific file in /etc/pam.d/ directory. By default Dovecot uses "dovecot" service, so you'll need to have /etc/pam.d/dovecot file as well working.
http://wiki.dovecot.org/moin.cgi/Authentication has more explanations and an example for how to use PAM.
Timo Sirainen wrote:
well, just remove all that and keep:
passdb pam { }
You can't tell PAM to use /etc/passwd, you can only tell it to use a specific file in /etc/pam.d/ directory. By default Dovecot uses "dovecot" service, so you'll need to have /etc/pam.d/dovecot file as well working.
http://wiki.dovecot.org/moin.cgi/Authentication has more explanations and an example for how to use PAM.
HI
A big thanks for this, its working.
Now for my main reason of wanting to use dovecot..
I read the folllowing link: http://wiki.dovecot.org/moin.cgi/SharedFolders
In the conf file I have a namespace entry:
namespace public { separator = / prefix = Public/ location = /tmp }
and
mail:/home/bclark/Maildir# ls -la -rw-r--r-- 1 bclark bclark 0 May 16 19:26 dovecot-shared -rw-r--r-- 1 bclark bclark 62 May 17 14:11 dovecot-uidlist
My mail client logs in brilliantly and displays me mail.
But I dont see a shared folder.
And tips and or advice would greatfully be appreciated.
Kind Regards Brent Clark
On 17.5.2005, at 15:30, Brent Clark wrote:
Now for my main reason of wanting to use dovecot..
I read the folllowing link: http://wiki.dovecot.org/moin.cgi/SharedFolders
In the conf file I have a namespace entry:
namespace public { separator = / prefix = Public/ location = /tmp }
What should it show from /tmp? It's probably because it's not detecting /tmp as either maildir or mbox folder. Specify location the same way as you would default_mail_env, eg.: location = mbox:/tmp. Then it will assume all files under it are mboxes.
I'd have thought it would have given error message though and not work at all..
participants (2)
-
Brent Clark
-
Timo Sirainen