[Dovecot] AUTH fail 2.0.9 on redhat 6

Selcuk Yazar selcuk.yazar at gmail.com
Fri Jul 22 22:06:49 EEST 2011


 dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.el6.x86_64 x86_64 Red Hat Enterprise Linux Server
release 6.0 (Santiago)
auth_debug = yes
auth_default_realm = domain
auth_verbose = yes
debug_log_path = /var/log/dovecot.debug
disable_plaintext_auth = no
info_log_path = /var/log/dovecot.info
mail_debug = yes
mail_gid = 97
mail_location = maildir:~/Maildir
mail_uid = 97
mbox_write_locks = fcntl
passdb {
  args = /etc/dovecot/conf.d/dovecot-ldap.conf.ext
  driver = ldap
}
ssl = no
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/conf.d/dovecot-ldap.conf.ext
  driver = ldap
}

On Fri, Jul 22, 2011 at 9:48 PM, Kerem Erciyes <kerem.erciyes at gmail.com>wrote:

> Try dovecot -n for configuration.
>
> On Fri, Jul 22, 2011 at 9:24 PM, Selcuk Yazar <selcuk.yazar at gmail.com>
> wrote:
> > Hi,
> >
> > we have postifx + open ldap + Jamm + saslauthd configuration
> >
> > SMTP authentication working properly and we send receive mails , and
> mails
> > are delivering succes.
> >
> > but dovecot we have problems,
> >
> > in dovecot debug :
> >
> > Jul 22 20:51:04 auth: Debug: auth client connected (pid=11848)
> > Jul 22 20:51:04 auth: Debug: client in: AUTH    1       PLAIN
> service=pop3
> >   lip=193.xxx.xxx.xxx     rip=195.xxx.xxx.xxx      lport=110
> > rport=27321     resp=<hidden>
> > Jul 22 20:51:04 auth: Debug: ldap(macir at domain,195.xxx.xxx.xxx): pass
> > search: base=o=hosting,dc=myhosting,dc=example scope=subtree
> > filter=(&(objectClass=JammMailAccount)(mail=macir at domain
> )(accountActive=TRUE)(delete=FALSE))
> > fields=mail,userPassword,cn,homeDirectory,mailbox
> > Jul 22 20:51:04 auth: Debug: ldap(macir at domain,195.xxx.xxx.xxx): result:
> > mail(mail)=macir at domain homeDirectory(homeDirectory)=/home/vmail/domains
> > cn(cn)=NAME SURNAME userPassword(userPassword)={CRYPT}JpkzdqceMAuKQ
> > mailbox(mailbox)=domain/macir/
> > Jul 22 20:51:06 pop3-login: Debug: Ignoring unknown passdb extra field:
> mail
> > Jul 22 20:51:06 pop3-login: Debug: Ignoring unknown passdb extra field:
> > homeDirectory
> > Jul 22 20:51:06 pop3-login: Debug: Ignoring unknown passdb extra field:
> cn
> > Jul 22 20:51:06 pop3-login: Debug: Ignoring unknown passdb extra field:
> > userPassword
> > Jul 22 20:51:06 pop3-login: Debug: Ignoring unknown passdb extra field:
> > mailbox
> > Jul 22 20:51:06 auth: Debug: client out: FAIL   1       user=macir at domain
> >  mail=macir at domain     homeDirectory=/home/vmail/domains       cn=Mesut
> > OZTURK userPassword={CRYPT}JpkzdqceMAuKQ       mailbox=domain/macir/
> >
> >
> > in dovecot.info
> >
> >
> > Jul 22 20:45:43 master: Info: Dovecot v2.0.9 starting up (core dumps
> > disabled)
> > Jul 22 20:51:04 auth: Info:
> > ldap(macir at trakyamail.trakya.edu.tr,195.xxx.xxx.xxx):
> > No password returned (and no nopassword)
> > Jul 22 20:51:06 pop3-login: Info: Disconnected (auth failed, 1 attempts):
> > user=<macir at trakyamail.trakya.edu.tr>, method=PLAIN,
> rip=195.xxx.xxx.xxx,
> > lip=193.xxx.xxx.xxx
> >
> >
> > What is the problem with dovecot, what is the correct conf option for
> > OpenLdap confiuration ? why dovecot to many conf file ?
> >
> >
> > thank in advance.
> >
> >
> > --
> > Selçuk YAZAR
> > http://www.selcukyazar.blogspot.com
> >
>
>
>
> --
> Kerem Erciyes - Sistem Danismani
> http://keremerciyes.com
>



-- 
Selçuk YAZAR
http://www.selcukyazar.blogspot.com


More information about the dovecot mailing list