[Dovecot] Dovecot and LDAP-Quotas

south africa southafrica at thedoghousemail.com
Tue Aug 25 14:08:58 EEST 2009


> Do you have any other userdbs now? What does dovecot-ldap-userdb.conf
> now contain? Is it only quota that's now broken or the logins
> completely?

The dovecot-ldap-userdb.conf is only a symbolic link on the original dovecot-ldap.conf.

Only the ldap-quota is broken. The normal ldap-authentification goes like clockwork.


>Set auth_debug=yes and log in, what does it say?

"login"
-------
Aug 25 11:51:18 auth(default): Info: client in: AUTH    1       PLAIN   service=pop3    secured lip=123.456.789.72      rip=192.168.1.2        lport=995   rport=1984
Aug 25 11:51:18 auth(default): Info: client out: CONT   1
Aug 25 11:51:18 auth(default): Info: client in: CONT    1       
Aug 25 11:51:18 auth(default): Info: client out: OK     1       user=testuser
Aug 25 11:51:18 auth(default): Info: master in: REQUEST 1       21237   1
Aug 25 11:51:18 auth(default): Info: master out: USER   1       testuser   uid=500 gid=500 home=/home/vmail/testuser
Aug 25 11:51:18 pop3-login: Info: Login: user=<testuser>, method=PLAIN, rip=192.168.1.2, lip=123.456.789.72, TLS
Aug 25 11:51:18 POP3(testuser): Info: Loading modules from directory: /usr/lib64/dovecot/pop3
Aug 25 11:51:18 POP3(testuser): Info: Module loaded: /usr/lib64/dovecot/pop3/lib10_quota_plugin.so
Aug 25 11:51:18 POP3(testuser): Info: Effective uid=500, gid=500, home=/home/vmail/testuser
Aug 25 11:51:18 POP3(testuser): Info: Quota root: name=User quota backend=maildir args=
Aug 25 11:51:18 POP3(testuser): Info: Quota rule: root=User quota mailbox=* bytes=8388608 messages=0
Aug 25 11:51:18 POP3(testuser): Info: Quota warning: bytes=7549747 (90%) messages=0 command=/usr/local/bin/quota-warning.sh 90
Aug 25 11:51:18 POP3(testuser): Info: Quota warning: bytes=6291456 (75%) messages=0 command=/usr/local/bin/quota-warning.sh 75
Aug 25 11:51:18 POP3(testuser): Info: maildir: data=/home/vmail/testuser/Maildir/
Aug 25 11:51:18 POP3(testuser): Info: maildir++: root=/home/vmail/testuser/Maildir, index=, control=, inbox=/home/vmail/testuser/Maildir
Aug 25 11:51:18 POP3(testuser): Info: Namespace : Using permissions from /home/vmail/testuser/Maildir: mode=0700 gid=-1
Aug 25 11:51:18 POP3(testuser): Info: Disconnected: Logged out top=0/0, retr=1/2608, del=1/1, size=2591
Aug 25 11:51:18 auth(default): Info: new auth connection: pid=21247


"email delivery"
----------------
Aug 25 11:53:02 auth(default): Info: new auth connection: pid=21248
Aug 25 11:53:02deliver(testuser at core.uk): Info: Loading modules from directory: /usr/lib64/dovecot/lda
Aug 25 11:53:02deliver(testuser at core.uk): Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so
Aug 25 11:53:02 auth(default): Info: master in: USER    1       testuser at core.uk   service=deliver
Aug 25 11:53:02 auth(default): Info: master out: USER   1       testuser   uid=500 gid=500 home=/home/vmail/testuser
Aug 25 11:53:02deliver(testuser at core.uk): Info: auth input: uid=500
Aug 25 11:53:02deliver(testuser at core.uk): Info: auth input: gid=500
Aug 25 11:53:02deliver(testuser at core.uk): Info: auth input: home=/home/vmail/testuser
Aug 25 11:53:02deliver(testuser at core.uk): Info: userdb changed username to testuser
Aug 25 11:53:02deliver(testuser): Info: Quota root: name=User quota backend=maildir args=
Aug 25 11:53:02deliver(testuser): Info: Quota rule: root=User quota mailbox=* bytes=8388608 messages=0
Aug 25 11:53:02deliver(testuser): Info: Quota warning: bytes=7549747 (90%) messages=0 command=/usr/local/bin/quota-warning.sh 90
Aug 25 11:53:02deliver(testuser): Info: Quota warning: bytes=6291456 (75%) messages=0 command=/usr/local/bin/quota-warning.sh 75
Aug 25 11:53:02deliver(testuser): Info: maildir: data=/home/vmail/testuser/Maildir/
Aug 25 11:53:02deliver(testuser): Info: maildir++: root=/home/vmail/testuser/Maildir, index=, control=, inbox=/home/vmail/testuser/Maildir
Aug 25 11:53:02deliver(testuser): Info: Namespace : Using permissions from /home/vmail/testuser/Maildir: mode=0700 gid=-1
Aug 25 11:53:02deliver(testuser): Info: msgid=<E74BF4D485115048AF3A7D77FA7A75610B00F594 at exc1.three.core.uk>: saved mail to INBOX




_____________________________________________________________
Get your FREE TheDoghouseMail email address at http://www.thedoghousemail.com


More information about the dovecot mailing list