Mohit Chawla
2010-Sep-16 12:03 UTC
[Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue
Hi, I am trying to integrate sieve with qmail-ldap. I can't get it to work, and deliver isn't logging anything to the log files (or syslog, if selected). Hence I have got no way to diagnose the problem. Any help appreciated. *root at debtwo:~# dovecot --version* 1.2.13 *root at debtwo:~# dovecot -n* # 1.2.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-3-686 i686 Debian squeeze/sid log_path: /dev/stderr protocols: imap imaps pop3 pop3s login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: mail mail_location: maildir:~/Maildir mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 lda: postmaster_address: mirko at deb.vm hostname: debtwo.deb.vm sendmail_path: /usr/lib/sendmail mail_plugins: sieve mail_plugin_dir: /usr/lib/dovecot/modules/lda log_path: /var/log/ldaone.log info_log_path: /var/log/ldatwo.log debug: yes auth default: passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: prefetch userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf plugin: sieve: ~/.dovecot.sieve *root at debtwo:~# grep -v '^ *\(#.*\)\?$' /etc/dovecot/dovecot-ldap.conf* hosts = debtwo.deb.vm uris = ldap://debtwo.deb.vm ldaps://debtwo.deb.vm dn = cn=admin,dc=deb,dc=vm dnpass = secret auth_bind = yes ldap_version = 3 base = ou=People,dc=deb,dc=vm scope = subtree user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid user_filter = (&(objectClass=posixAccount)(uid=%u)) pass_attrs = uid=user,userPassword=password,\ homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid * root at debtwo:~# cat /home/mirko/.dovecot.sieve * require ["reject"]; reject "blah"; * root at debtwo:~# ls -l /var/log/lda** -rw-rw-rw- 1 root root 0 Sep 16 16:49 /var/log/ldaone.log -rw-rw-rw- 1 root root 0 Sep 16 16:49 /var/log/ldatwo.log
Mohit Chawla
2010-Sep-16 12:05 UTC
[Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue
Also, * root at debtwo:~# cat /var/qmail/control/defaultdelivery * |/var/qmail/bin/preline -f /usr/lib/dovecot/deliver On Thu, Sep 16, 2010 at 5:33 PM, Mohit Chawla <mohit.chawla.binary at gmail.com> wrote:> Hi, > > I am trying to integrate sieve with qmail-ldap. I can't get it to work, and > deliver isn't logging anything to the log files (or syslog, if selected). > Hence I have got no way to diagnose the problem. Any help appreciated. > > *root at debtwo:~# dovecot --version* > 1.2.13 > > *root at debtwo:~# dovecot -n* > # 1.2.13: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-3-686 i686 Debian squeeze/sid > log_path: /dev/stderr > protocols: imap imaps pop3 pop3s > login_dir: /var/run/dovecot/login > login_executable(default): /usr/lib/dovecot/imap-login > login_executable(imap): /usr/lib/dovecot/imap-login > login_executable(pop3): /usr/lib/dovecot/pop3-login > mail_privileged_group: mail > mail_location: maildir:~/Maildir > mbox_write_locks: fcntl dotlock > mail_executable(default): /usr/lib/dovecot/imap > mail_executable(imap): /usr/lib/dovecot/imap > mail_executable(pop3): /usr/lib/dovecot/pop3 > mail_plugin_dir(default): /usr/lib/dovecot/modules/imap > mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap > mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 > lda: > postmaster_address: mirko at deb.vm > hostname: debtwo.deb.vm > sendmail_path: /usr/lib/sendmail > mail_plugins: sieve > mail_plugin_dir: /usr/lib/dovecot/modules/lda > log_path: /var/log/ldaone.log > info_log_path: /var/log/ldatwo.log > debug: yes > auth default: > passdb: > driver: ldap > args: /etc/dovecot/dovecot-ldap.conf > userdb: > driver: prefetch > userdb: > driver: ldap > args: /etc/dovecot/dovecot-ldap.conf > plugin: > sieve: ~/.dovecot.sieve > > *root at debtwo:~# grep -v '^ *\(#.*\)\?$' /etc/dovecot/dovecot-ldap.conf* > hosts = debtwo.deb.vm > uris = ldap://debtwo.deb.vm ldaps://debtwo.deb.vm > dn = cn=admin,dc=deb,dc=vm > dnpass = secret > auth_bind = yes > ldap_version = 3 > base = ou=People,dc=deb,dc=vm > scope = subtree > user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid > user_filter = (&(objectClass=posixAccount)(uid=%u)) > pass_attrs = uid=user,userPassword=password,\ > homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid > user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid > * > root at debtwo:~# cat /home/mirko/.dovecot.sieve * > require ["reject"]; > > reject "blah"; > * > root at debtwo:~# ls -l /var/log/lda** > -rw-rw-rw- 1 root root 0 Sep 16 16:49 /var/log/ldaone.log > -rw-rw-rw- 1 root root 0 Sep 16 16:49 /var/log/ldatwo.log > > > >
Timo Sirainen
2010-Sep-16 12:51 UTC
[Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue
On Thu, 2010-09-16 at 17:33 +0530, Mohit Chawla wrote:> deliver isn't logging anything to the log files (or syslog, if > selected).http://wiki.dovecot.org/LDA#logging