On Wed, Nov 16, 2011 at 5:38 PM, Timo Sirainen tss@iki.fi wrote:
On Wed, 2011-11-16 at 17:28 +0100, Bambero wrote:
Thanks a lot it almost helped. But now there is another problem: Nov 16 17:13:45 zeus exim[10613]: 2011-11-16 17:13:45 1RQi7C-0001lG-BX ** test@apisoft.pl R=localuser T=local_delivery: Child process of local_delivery transport (running command "/usr/local/libexec/dovecot/dovecot-lda -d $local_part@$domain -f $sender_address -a $original_local_part@$original_domain") was terminated by signal 11 (Segmentation fault)
But it anly appear if user has .sieve filter with mail redirection (uses submission_host)
It's difficult to debug crashes without gdb backtrace. But since you're running in a strange chrooted environment, it may be difficult to get a core file..
Probably the easiest way would be if you apply the attached patch, then try to deliver a mail that causes this crash (and no other mails), and attach gdb into the process during the 10 second wait:
gdb -p
pidof dovecot-lda
cont <wait for crash> bt full
Can you see something here:
gdb -p pgrep dovecot-lda
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd5.0".
Attaching to process 4118
0x030e6719 in ?? ()
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault. 0x0c96c825 in ?? () (gdb) bt full #0 0x0c96c825 in ?? () No symbol table info available. #1 0x7dfa61c0 in ?? () No symbol table info available. #2 0x00000001 in ?? () No symbol table info available. #3 0x00000001 in ?? () No symbol table info available. #4 0x00000002 in ?? () No symbol table info available. #5 0x2665d31c in ?? () No symbol table info available. #6 0x2665d31c in ?? () No symbol table info available. #7 0xcfbe13e8 in ?? () No symbol table info available. #8 0x0665fd79 in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available. (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: , process 4118