On 5/31/2010 2:47 PM, Timo Sirainen wrote:
On 31.5.2010, at 22.41, Mark Sapiro wrote:
What I don't understand is whether this is strictly the client's problem, or if there is some issue in Dovecot as well. If there is a Dovecot issue, I can try to collect and report more information about these Panics if that would be helpful.
All Dovecot crashes are bugs. The problem with this panic is that I just can't reproduce it, so I don't really have much ideas what exactly causes it.. You mentioned just connecting with K9 can cause it, but that's not what Juergen's backtrace showed. Maybe the step you could do is to get gdb backtrace? http://dovecot.org/bugreport.html And hopefully manage to reproduce it somehow easily? Also rawlog from such crashing session could be helpful too (see my previous mail).
Thanks Timo,
I saw your exchange with Juergen after I posted. I am working now on setting up rawlog, and I will try to get a gdb backtrace too.
I am having problems setting up rawlog. I need some help.
I tried
protocol imap { mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap ...
and got a warning and I don't know if it was accepted or not, but it was not logging.
I then tried
service imap { executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap ...
Which is accepted, but it still doesn't log.
I then tried changing
passdb { driver = passwd-file args = /usr/local/etc/dovecot.passwd }
first to
passdb { driver = passwd-file args = home=/home/%u /usr/local/etc/dovecot.passwd }
and then to
passdb { driver = passwd-file args = home=/home/%u /usr/local/etc/dovecot.passwd home = /home/%u }
But neither of those work, but setting mail_debug = yes shows that the home directory is as expected:
May 31 15:34:21 sbh16 dovecot: imap(mark): Debug: Effective uid=501, gid=501, home=/home/mark
yet nothing gets written in /home/mark/dovecot.rawlog
drwxrwxr-x 2 mark mark 4096 May 31 14:46 /home/mark/dovecot.rawlog/
(mark is uid 501).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan