Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-09 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 04:03:58PM +0300, Timo Sirainen wrote: So the No such object isn't expected.. Maybe different LDAP servers work in different ways?.. Yours appears to give out the difference between user doesn't exist and wrong password? Does the attached patch change these to unknown

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Timo Sirainen
On Thu, 2011-09-08 at 09:56 +0200, Jan-Frode Myklebust wrote: I've had 18 instances of this error the last 24 hours: Sep 8 08:56:00 popimap1 dovecot:: lmtp(10529, first.l...@example.om): mGdAOtdlaE4hKQAAg/aw4w: msgid=b8fa3d5b230184409450d51d522678404e5...@asp-ex02.asp.lan: save

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 11:53:26AM +0300, Timo Sirainen wrote: Hmm. These are pretty annoying to find. I looked through the sources and.. Well, found one possible reason for it. Try applying these patches and see what it says then: http://hg.dovecot.org/dovecot-2.0/raw-rev/858298eb101f

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Timo Sirainen
On 8.9.2011, at 13.28, Jan-Frode Myklebust wrote: I couldn't find any.. but these BUG:-messages were logged as debug or info level syslog messages, which quickly drowns in everything else on busy pop/imap-servers. That's why I prefer logging errors and warnings to separate logs. Those errors

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 01:31:22PM +0300, Timo Sirainen wrote: I couldn't find any.. but these BUG:-messages were logged as debug or info level syslog messages, which quickly drowns in everything else on busy pop/imap-servers. That's why I prefer logging errors and warnings to separate

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Timo Sirainen
On Thu, 2011-09-08 at 12:44 +0200, Jan-Frode Myklebust wrote: Sep 8 08:56:00 popimap1 dovecot:: lmtp(10529, first.l...@example.om): mGdAOtdlaE4hKQAAg/aw4w: msgid=b8fa3d5b230184409450d51d522678404e5...@asp-ex02.asp.lan: save failed to INBOX: BUG: Unknown internal error .. but

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 04:03:58PM +0300, Timo Sirainen wrote: It shouldn't be behaving like that.. Are you saying that all unknown user failures are logged as those errors? Seems so yes. I get without auth_bind_userdn: Sep 08 15:56:08 auth: Info: ldap(foo,127.0.0.1): unknown user