Slackware 12.2 and Dovecot 1.1.16 config problem
I am setting up a new installation of Slack with Postfix/Dovecot. Have Postfix working flawlessly but am having some problems getting Dovecot up and running.
I get this when trying to invoke Dovecot: Code:
Jun 14 11:12:17 mail dovecot: dovecot v1.1.16 starting up (core dumps disabled) ;-) Any ideas? Rodman |
How did you install dovecot? You can use build script from slackbuilds.org or if you are compiling yourself, invoke configure with --without-pam option.
Also, look at /etc/dovecot.conf. You have to define the default authentication system. Comment out everything except the one you want to use. BTW, If your requirements are modest (like me) you can use a static file for usernames and password lookup. look for following config options: Code:
passdb passwd-file { Code:
userdb passwd-file { |
Quote:
I now Slack doesn't use Pam so I need to use shadow for auth correct? Just not sure what lines to comment out in the config file as it doesn't seem very self explanatory. |
Quote:
There are authentication schemes so you need to decide to use plain-text or non-plaintext authentication. Once you decide that, then you can choose a password scheme (like plain, md5-based or sha-based). Finally you can choose the password database and user database. I'll give you my setup: I'm using a self-signed SSL certificate for the entire imap traffic so using plain-text authentication works for me. For the actual passwords, I'm using SHA256 scheme and i'm using /etc/dovecot_passwd file as both password database and user database. Code:
auth default { Hope that helps, |
I got it working. In the "args =" I wasn't passing it the file /etc/shadow to lookup the passwords in. Stupid mistake.
I haven't messed with Linux in about 2 years so everything is slowly coming back. Thanks for your help! |
All times are GMT -5. The time now is 10:14 AM. |