12 Sep
2009
12 Sep
'09
12:14 a.m.
On Fri, 2009-09-11 at 12:20 +0200, Maciej Polewczyński wrote:
Can you send me one such script that crashes it?
In .dovecot.sieve I have: ..
I'll try to look into this sometimes soon, but getting gdb backtrace might get it fixed sooner.
I run deliver through gdbhelper in this way
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/gdbhelper /tmp/deliver.sh -d ${recipient} -f ${sender}
That means you're now trying to gdb deliver.sh, which doesn't work.
and in /tmp/deliver.sh
#!/bin/sh sleep 1 exec /usr/lib/dovecot/deliver $*
Instead add it above.
exec /usr/lib/dovecot/gdbhelper /usr/lib/dovecot/deliver $*