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 $*

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to