Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Mohit Chawla
On Mon, Dec 6, 2010 at 5:17 PM, Timo Sirainen wrote: > Does it really matter? > Will at least prevent a crash. :) Either way, I hope the request wasn't too offensive ?

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Mohit Chawla
Sorry if this is not the right place to inquire but, is there a policy or framework for including such patches by the Debian maintainers ? Or should bug reports be submitted there separately as well ?

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-05 Thread Mohit Chawla
On Mon, Dec 6, 2010 at 11:35 AM, Timo Sirainen wrote: > Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/ebc5dc47eb59 > > (It was already fixed in v2.0.) > Awesome, thanks.

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-05 Thread Mohit Chawla
Here's the full back trace: #0 0xb7434d23 in strchr () from /lib/i686/cmov/libc.so.6 No symbol table info available. #1 0x0805e02e in net_addr2ip (addr=0x0, ip=0xbf93c3dc) at network.c:619 No locals. #2 0x0804f01a in login_proxy_is_ourself (client=0x93b5060, host=0x0, port=143, destuser=0x9

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-04 Thread Mohit Chawla
On Sat, Dec 4, 2010 at 6:32 PM, Mohit Chawla wrote: > If more information's needed, let me know. > Apologies for not providing the info in the first place. Not that I have it right now either, but will post from the workstation tomorrow, since this is always reproducible. Also, have

[Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-04 Thread Mohit Chawla
In case this is relevant: kernel: [17549.714369] imap-login[11704]: segfault at 0 ip b75c3d23 sp bf888178 error 4 in libc-2.11.2.so[b7551000+14] If no host field attribute is present in ldap (like mailHost for qmail-ldap), and we are trying to use proxy, then dovecot segfaults. If more infor

Re: [Dovecot] Passwords not returned without auth_bind ?

2010-12-03 Thread Mohit Chawla
On Sat, Dec 4, 2010 at 4:39 AM, Timo Sirainen wrote: > >> So your problems is probably > >> > http://wiki.dovecot.org/AuthDatabase/LDAP/PasswordLookups#LDAP_server_permissions > Indeed. There were redundant acls in slapd.conf which I guess were causing the issue. The wiki clearly said "add only

Re: [Dovecot] Passwords not returned without auth_bind ?

2010-12-03 Thread Mohit Chawla
On Sat, Dec 4, 2010 at 1:45 AM, Mohit Chawla wrote: > Any other suggestions to debug this ? > Also, I did try using default_pass_scheme = SSHA in the configuration file. This is not in the configuration file posted above though, just fyi.

Re: [Dovecot] Passwords not returned without auth_bind ?

2010-12-03 Thread Mohit Chawla
Hi, On Fri, Dec 3, 2010 at 9:55 PM, Timo Sirainen wrote: > So your problems is probably > http://wiki.dovecot.org/AuthDatabase/LDAP/PasswordLookups#LDAP_server_permissions > I am able to do ldapsearch and get userPassword attribute using the DN that I have specified in dovecot and slapd configu

[Dovecot] Passwords not returned without auth_bind ?

2010-12-03 Thread Mohit Chawla
Hi, Maybe I am missing something simple, but I can't get users authenticated using password lookups, as opposed to auth_bind. This is how the log looks like when using password lookup: dovecot: auth(default): new auth connection: pid=2449 dovecot: auth(default): client in: AUTH#0111#011PLAIN#011s

Re: [Dovecot] pam authentication error

2010-11-23 Thread Mohit Chawla
Hi, On Tue, Nov 23, 2010 at 8:28 PM, Oliver Berse wrote: > Nov 23 15:06:55 debian dovecot: auth(default): Fatal: Support not compiled > in for passdb driver 'pam' > Probably this ^^ ? Anyway, since you seem to be testing dovecot, why not use the debian package instead ( you could probably use

Re: [Dovecot] Exchange-replacement with SOGo

2010-10-25 Thread Mohit Chawla
Hi, On Tue, Oct 26, 2010 at 8:08 AM, Timo Sirainen wrote: > > They seem to prefer Cyrus, but apparently Dovecot should work too. I have been using Dovecot 1.2.13 with it, works just fine. Plus, sieve support's also there, which is cool.

Re: [Dovecot] traffic statistics

2010-09-28 Thread Mohit Chawla
sharing it !) shouldn't be difficult. 2010/9/28 Martin Waschbüsch > Am 26.09.2010 um 08:30 schrieb Mohit Chawla: > > > How about collectd ( http://collectd.org/ ) ? > > > Looks like a good package, but I could not find a dovecot plugin? If you > know of such an

Re: [Dovecot] traffic statistics

2010-09-25 Thread Mohit Chawla
How about collectd ( http://collectd.org/ ) ? 2010/9/26 Martin Waschbüsch > Hi all, > > Does anyone know a good tool to gather traffic statistics for imap? And > what level of logging would I need to set for dovecot to make it happen. > Ideally this would be able to filter per domain, too. ;-) >

Re: [Dovecot] Sieve autoreply woes on test setup

2010-09-22 Thread Mohit Chawla
Hi, If anyone else is testing out sieve with a similar setup. this is caused by the defaultdomain setting in qmail. qmail-inject appends this value to a domain without any dots. Thanks to Stephan (S[r]us) for bringing this to notice on irc. On Wed, Sep 22, 2010 at 5:59 PM, Mohit Chawla wrote

Re: [Dovecot] Sieve autoreply woes on test setup

2010-09-22 Thread Mohit Chawla
eryMode: nolocal deliveryProgramPath: /usr/lib/dovecot/deliver -a $RECIPIENT -f $SENDER -d $USER mailReplyText: undefined On Wed, Sep 22, 2010 at 4:59 PM, Mohit Chawla wrote: > Hi, > > I have been testing sieve in my setup with qmail-ldap and deliver on a LAN > with an artificial doma

[Dovecot] Sieve autoreply woes on test setup

2010-09-22 Thread Mohit Chawla
Hi, I have been testing sieve in my setup with qmail-ldap and deliver on a LAN with an artificial domain name. Everything seems to be working as expected, except in cases when autoreplies (vacation, reject messages) need to be tested. The domain name is vmint, and dawnone is the hostname on which

Re: [Dovecot] Quota value *not* getting over written by ldap attr value, help ?

2010-09-21 Thread Mohit Chawla
Hi, Thanks Timo, you were right , deliver was missing the -d parameter. On Tue, Sep 21, 2010 at 6:27 PM, Timo Sirainen wrote: > On Tue, 2010-09-21 at 18:02 +0530, Mohit Chawla wrote: > > > *** > > Sep 21 17:49:30 dawnone dovecot: auth(default): ldap(cot,127.0.0.1): >

[Dovecot] Quota value *not* getting over written by ldap attr value, help ?

2010-09-21 Thread Mohit Chawla
Hi, I am having trouble with the quota plugin with deliver. In the auth logs, I see that dovecot is able to get the attribute value just fine: *** Sep 21 17:49:30 dawnone dovecot: auth(default): ldap(cot,127.0.0.1): result: uid(user)=cot uidNumber(userdb_uid)=1011 gidNumber(userdb_gid)=1011 homeD

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

2010-09-16 Thread Mohit Chawla
/qmail/bin/preline -f /usr/lib/dovecot/deliver), while a .qmail works perfectly. On Thu, Sep 16, 2010 at 6:21 PM, Timo Sirainen wrote: > 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)

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

2010-09-16 Thread Mohit Chawla
Hi again. I just tried using .qmail instead of just changing the defaultdelivery control variable, and its working. I guess dovecot's working just fine, will have a look at the qmail control variables again. On Thu, Sep 16, 2010 at 5:35 PM, Mohit Chawla wrote: > Also, > * > r...

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

2010-09-16 Thread Mohit Chawla
Also, * r...@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 wrote: > Hi, > > I am trying to integrate sieve with qmail-ldap. I can't get it to work, and > deliver isn'

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

2010-09-16 Thread Mohit Chawla
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. *r...@debtwo:~# dovecot --version* 1.2.13 *r...@debtwo:~# dovecot -n* #