Re: [Dovecot] AUTH fail 2.0.9 on redhat 6
Hi, After some corrections and research my logs are change Jul 23 00:00:29 auth: Debug: master in: REQUEST 9856614512706 1 1438c7240539fab5e151143c860bf814 Jul 23 00:00:29 auth: Debug: ldap(user@domain,::1): user search: base=o=hosting,dc=myhosting,dc=example scope=subtree filter=(&(objectClass=JammMailAccount)(mail=user@domain)(accountActive=TRUE)(delete=FALSE)) fields=homeDirectory,uidNumber,gidNumber,mailbox Jul 23 00:00:29 auth: Debug: ldap(user@domain,::1): result: homeDirectory(home)=/home/vmail/domains mailbox(mail)=domain/username/ Jul 23 00:00:29 auth: Debug: master out: USER 98566145user@domain home=/home/vmail/domainsmail=domain/username/ Jul 23 00:00:29 pop3: Debug: Added userdb setting: mail=domain/username/ when i try telnet telnet localhost 110 Trying ::1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. user +OK pass plain_text Connection closed by foreign host. thanks in advance
Re: [Dovecot] AUTH fail 2.0.9 on redhat 6
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 = wrote: > Try dovecot -n for configuration. > > On Fri, Jul 22, 2011 at 9:24 PM, Selcuk Yazar > 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: AUTH1 PLAIN > service=pop3 > > lip=193.xxx.xxx.xxx rip=195.xxx.xxx.xxx lport=110 > > rport=27321 resp= > > Jul 22 20:51:04 auth: Debug: ldap(macir@domain,195.xxx.xxx.xxx): pass > > search: base=o=hosting,dc=myhosting,dc=example scope=subtree > > filter=(&(objectClass=JammMailAccount)(mail=macir@domain > )(accountActive=TRUE)(delete=FALSE)) > > fields=mail,userPassword,cn,homeDirectory,mailbox > > Jul 22 20:51:04 auth: Debug: ldap(macir@domain,195.xxx.xxx.xxx): result: > > mail(mail)=macir@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@domain > > mail=macir@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(ma...@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=, 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
Re: [Dovecot] AUTH fail 2.0.9 on redhat 6
Try dovecot -n for configuration. On Fri, Jul 22, 2011 at 9:24 PM, Selcuk Yazar 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= > Jul 22 20:51:04 auth: Debug: ldap(macir@domain,195.xxx.xxx.xxx): pass > search: base=o=hosting,dc=myhosting,dc=example scope=subtree > filter=(&(objectClass=JammMailAccount)(mail=macir@domain)(accountActive=TRUE)(delete=FALSE)) > fields=mail,userPassword,cn,homeDirectory,mailbox > Jul 22 20:51:04 auth: Debug: ldap(macir@domain,195.xxx.xxx.xxx): result: > mail(mail)=macir@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@domain > mail=macir@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(ma...@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=, 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
[Dovecot] AUTH fail 2.0.9 on redhat 6
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: AUTH1 PLAIN service=pop3 lip=193.xxx.xxx.xxx rip=195.xxx.xxx.xxx lport=110 rport=27321 resp= Jul 22 20:51:04 auth: Debug: ldap(macir@domain,195.xxx.xxx.xxx): pass search: base=o=hosting,dc=myhosting,dc=example scope=subtree filter=(&(objectClass=JammMailAccount)(mail=macir@domain)(accountActive=TRUE)(delete=FALSE)) fields=mail,userPassword,cn,homeDirectory,mailbox Jul 22 20:51:04 auth: Debug: ldap(macir@domain,195.xxx.xxx.xxx): result: mail(mail)=macir@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@domain mail=macir@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(ma...@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=, 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