[Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue

Mohit Chawla mohit.chawla.binary at gmail.com
Thu Sep 16 15:05:04 EEST 2010


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
>
>
>
>


More information about the dovecot mailing list