On 19-04-11 12:16, G Weaver wrote:
> I'd be very grateful if anyone could help me with this problem.
> I have dbmail_3.0.0-rc2 installed and working with Postfix under Ubuntu
> 10.04 (on a VPS).
> 
> I am seeing dbmail-imapd crashes a bit too often (three times since
> Saturday). The dbmail-imapd process dies, but the pid file is left in
> place. I usually use roundcube to check my email and all three of the
> crashes have occurred whilst logging in with roundcube (most of the time
> it does work).
> 
> The error message in /var/log/dbmail.err is:
> dbmail-imapd: authsql.c:138: auth_getencryption: Assertion `user_idnr >
> 0' failed.

Not good. Sounds like you didn't setup things correctly. There should
never be a normal user with user_idnr=0.

> 
> And the error messages in the roundcube log look like this:
> [19-Apr-2011 09:38:25 +0100]: IMAP Error: Login failed for * from
> *.*.*.*(X-Forwarded-For: *.*.*.*). AUTHENTICATE CRAM-MD5:  in
> /var/www/roundcube/program/include/rcube_imap.php on line 192 (POST
> /?_task=login&_action=login)


Try bumping up the loglevel in dbmail (syslog_logging_level=511) and run
such a login session from roundcube.

I see you're using cram-md5 authentication, so there should not be any
encryption on the passwords in the database.


> 
> The dbmail.err modification time tallies with the time of the attempted
> login.
> 
> Have I made a mistake compiling and configuring dbmail? Is this a bug?

I don't no yet.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to