Hello everybody, When I modify the dovecot imap source ,in "src/imap/" dir, I meet the Error below: Error: child (imap) kill (core dump disabled). In fact, I want to record the imap operation through dovecot. So, I modify every source file in "src/imap/cmd-IMAP_OPERATION" ,when the imap command function is executed, it will write to a file cur time and operation. Could you tell me why the imap be killed? Thank you.
On 2011-12-28 11:06 PM, Dongyu.Zhen <zdy0818 at gmail.com> wrote:> Hello everybody, > When I modify the dovecot imap source ,in "src/imap/" dir, I meet the > Error below: > Error: child (imap) kill (core dump disabled). > > In fact, I want to record the imap operation through dovecot. So, I > modify every source file in "src/imap/cmd-IMAP_OPERATION" ,when the imap > command function is executed, it will write to a file cur time and > operation.Ummm... maybe what you want is already there? http://wiki2.dovecot.org/Plugins/MailLog> Could you tell me why the imap be killed?You modified the source, didn't bother to provide specific details as to what modifications you did, and expect someone to be able to answer that? I don't think even Timo is that good... ;) -- Best regards, Charles
On 29.12.2011, at 6.06, Dongyu.Zhen wrote:> Hello everybody, > When I modify the dovecot imap source ,in "src/imap/" dir, I meet the > Error below: > Error: child (imap) kill (core dump disabled).Most likely due to your modification, but gdb backtraces are helpful when debugging crashes: http://dovecot.org/bugreport.html
On Qui, 2011-12-29 at 12:06 +0800, Dongyu.Zhen wrote:> Hello everybody, > When I modify the dovecot imap source ,in "src/imap/" dir, I meet the > Error below: > Error: child (imap) kill (core dump disabled). > > In fact, I want to record the imap operation through dovecot. So, I > modify every source file in "src/imap/cmd-IMAP_OPERATION" ,when the imap > command function is executed, it will write to a file cur time and > operation. > > Could you tell me why the imap be killed? >When I modified the imap source I had a lot of crashes as I'm sure a lot of people had. Just I wasn't as bossy to ask other people to fix them for me with their crystal ball. Search the dovecot wiki for the maillog plugin, it should do what you want minus the crashes.