I made some progress, but it still don't connect to the server. See below:
Aug 17 09:22:29 bastion01 dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=10.0.2.1 rip=10.0.1.1 resp=AHJhcGhhZWwuY29zdGFAYmlnaG9zdxsdC5jb20uYnIAMTIzcXdl
Aug 17 09:22:29 bastion01 dovecot: auth(default): ldap(raphael.costa@xxxx.com.br,10.0.1.1): bind search: base=ou=xxxx.com.br,ou=accounts,o=comMail filter=(&(objectClass=qmailUser)(mail=raphael.costa@xxxx.com.br)(accountStatus=active))
Aug 17 09:22:29 bastion01 dovecot: auth(default): ldap(raphael.costa@xxxx.com.br,10.0.1.1): result: qmailUID(proxy)=1033 mailHost(host)=mailserver-01.xxxx.com.br uid(user)=raphael.costa@xxxx.com.br
Aug 17 09:22:29 bastion01 dovecot: auth(default): ldap(raphael.costa@xxxx.com.br,10.0.1.1): bind: dn=cn=raphael.costa,ou=xxxx.com.br,ou=accounts,o=comMail
Aug 17 09:22:29 bastion01 dovecot: auth(default): client out: OK 1 user=raphael.costa@xxxx.com.br proxy host=mailserver-01.xxxx.com.br pass=xxxx
Aug 17 09:22:29 bastion01 dovecot: auth(default): master in: REQUEST 1 18709 1
Aug 17 09:22:29 bastion01 dovecot: auth(default): Master request 18709.1 not found
Aug 17 09:22:29 bastion01 dovecot: auth(default): master out: NOTFOUND 1
Aug 17 09:22:29 bastion01 dovecot: pop3-login: Internal login failure: user=raphael.costa@xxxx.com.br, method=PLAIN, rip=10.0.1.1, lip=10.0.2.1
any idea?
On Thu, 2007-08-16 at 18:58 -0300, Raphael Bittencourt S. Costa wrote:
Hello all,
I'm having problems to make Dovecot proxy work, I configured it following dovecot's site. See my test below:
It accepts login and password and then closes the connection.
bastion01:~/build# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. user raphael.costa@xxxx.com.br +OK pass xxxxxx +OK Logged in. Connection closed by foreign host.
See that it get the host information but still try to access the mbox locally.
Aug 16 16:22:36 bastion01 dovecot: auth(default): ldap(raphael.costa@xxxx.com.br,127.0.0.1): bind: dn=cn=raphael.costa,ou=xxxx.com.br,ou=accounts,o=comMail Aug 16 16:22:36 bastion01 dovecot: auth(default): client out: OK 2 user=raphael.costa@xxxx.com.br host=mailserver-01.xxxx.com.br Aug 16 16:22:36 bastion01 dovecot: auth(default): master in: REQUEST 1 3894 2
Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): maildir: access(/dev/null/Maildir, rwx): failed: Not a directory Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): maildir: couldn't find root dir Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox: root: access(/dev/null/mail, rwx) failed: Not a directory Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox: root: access(/dev/null/Mail, rwx) failed: Not a directory Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox: checking if we are chrooted: Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox autodetect: data= Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox autodetect: has .imap/: stat(/.imap) failed: No such file or directory Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox autodetect: has inbox: stat(/inbox) failed: No such file or directory Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox autodetect: has mbox: stat(/mbox) failed: No such file or directory Aug 16 16:22:36 bastion01 dovecot: POP3(raphael.costa@xxxx.com.br): mbox: root mail directory not found
My dovecot-ldap.conf: pass_attrs = uid=user,userPassword=password,mailMessageStore=userdb_home,qmailUID=userdb_uid,qmailGID=userdb_gid,proxy,mailHost=host
What am I doing wrong?
Raphael Costa