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
> ** t...@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

diff -r 346c022df7af src/lda/main.c
--- a/src/lda/main.c	Wed Nov 16 18:15:46 2011 +0200
+++ b/src/lda/main.c	Wed Nov 16 18:36:59 2011 +0200
@@ -305,6 +305,7 @@
 		}
 	}
 
+	sleep(10);
 	i_set_failure_exit_callback(failure_exit_callback);
 
 	master_service = master_service_init("lda",

Reply via email to