On Tue, 2007-06-19 at 10:05 -0700, Benton Haynes wrote:
So it's not dying at least at startup. Maybe an easier way would be to
make the process dump core and gdb the core file. See http://dovecot.org/bugreport.html#coredumps
I'm still not clear how one gets gdb to exec 'imap' WITH the config file.
If imap process dies at startup, it's a bit difficult to gdb because you can't attach to it and as far as I know it's not possible to make gdb follow execs.
I'll see if I can figure out from the wiki what the acl problem is. But, even if my acl usage is configured wrong, some sort of error other than the 'SIGILL' would be helpful.
Well, you should be able to do:
ACL=vfile:/etc/dovecot/acl_files MAIL_PLUGINS=acl MAIL=~/Maildir gdb /usr/local/libexec/dovecot/imap run bt