Hi, I need some help I am currently setting up my FC5 box with ldap + samba + postfix + dovecot support as prescribed in howto http://wanderingbarque.com/howtos/mailserver/mailserver.html My problem is in starting the dovecot server. I get the following error Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 16: Unknown setting: passdb My dovcot.conf file: protocols = imap pop3 login_dir = /var/run/dovecot/login login_chroot = yes disable_plaintext_auth = no login_user = dovecot first_valid_uid = 101 last_valid_uid = 101 first_valid_gid = 101 last_valid_gid = 101 valid_chroot_dirs =/home/vmail/domains default_mail_env = maildir:/home/vmail/domains/%d/%n auth = default auth_mechanisms = plain auth_userdb = ldap /etc/dovecot-ldap.conf auth_pass = ldap /etc/dovecot-ldap.conf auth_executable = /usr/libexec/dovecot/dovecot-auth auth_user = dovecot-auth It is complaining about the auth_userdb parameter as var as I can see. Can anyone help please.
On Wed, 2006-08-02 at 22:16 +0200, Gert Horne wrote:> Hi, > > I need some help > > I am currently setting up my FC5 box with ldap + samba + postfix + > dovecot support as prescribed in howto > http://wanderingbarque.com/howtos/mailserver/mailserver.html > > My problem is in starting the dovecot server. > I get the following error > Starting Dovecot Imap: Error: Error in configuration > file /etc/dovecot.conf line 16: Unknown setting: passdbYou're trying to use Dovecot 0.99's configuration file settings with 1.0rc. There have been several changes in the settings so that doesn't work. Check dovecot-example.conf how the settings should look like instead. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060802/60eaed37/attachment.bin>
Hi
I have a brand new problem now.
I have ldap and dovecot working... but my users cant log in.
Maillog:
server dovecot: imap-login: Aborted login: user=<name>, method=PLAIN,
rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1
dovecot.conf:
protocols = imap
#imap_listen = 127.0.0.1
login_dir = /var/run/dovecot/login
login_chroot = yes
disable_plaintext_auth = no
login_user = dovecot
first_valid_uid = 101
last_valid_uid = 101
first_valid_gid = 101
last_valid_gid = 101
valid_chroot_dirs = /home/vmail/domains
default_mail_env = maildir:/home/vmail/domains/%d/%n
auth_executable = /usr/libexec/dovecot/dovecot-auth
protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
login_greeting_capability = yes
}
auth_executable = /usr/libexec/dovecot/dovecot-auth
auth_process_size = 256
auth_cache_ttl = 3600
auth default {
mechanisms = plain
user = dovecot-auth
ssl_require_client_cert = no
userdb ldap {
args = /etc/dovecot-ldap.conf
}
passdb ldap {
args = /etc/dovecot-ldap.conf
}
}
dovecot-ldap.conf:
hosts = localhost
dn = cn=dovecot,dc=,dc=,dcdnpass = Unl0ckM3
auth_bind = yes
ldap_version = 2
base = o=hosting,dc=,dc=,dcderef = never
scope = subtree
user_attrs = mail,homeDirectory,,,,
user_filter = (&(objectClass=JammMailAccount)(mail=%
u)(accountActive=TRUE)(delete=FALSE))
pass_attrs = mail,userPassword
pass_filter = (&(objectClass=JammMailAccount)(mail=%
u)(accountActive=TRUE)(delete=FALSE))
default_pass_scheme = MD5
user_global_uid = 101
user_global_gid = 101
Can you assist me with this please