22 Sep
2010
22 Sep
'10
7:24 p.m.
On Wed, 2010-09-22 at 18:15 +0200, Burckhard Schmidt wrote:
It also happens if I only telnet to the imap(s) port and give the only command "1 logout".
Then it should be easy:
- telnet localhost 143
- gdb .../dovecot/imap-login <pid of imap-login process> cont
- logout to make it crash
- gdb: bt full
How can I get a dump for backtracing? With drop_priv_before_exec=yes I get a config error: doveconf: Fatal: Error in configuration file /usr/dovecot/etc/dovecot/dovecot.conf: service(imap-login): drop_priv_before_exec=yes can't be used with chroot
You need to also set inside the service "chroot=" to disable chrooting. Also for imap-login to produce core files you need to set "executable = imap-login -D".