[Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve
Steve Wagner
lists at lanwin.de
Wed Jan 13 11:40:46 EET 2010
Hi Timo, deliver works with the script and ive got some fails while
using it, but the script dose not wrote anything.
Any further ideas?
Steve
On 29.12.2009 22:19, Timo Sirainen wrote:
> On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote:
>> The only error message i have, come from procmail.log:
>>
>> 24918-Folder: /opt/dovecot/libexec/dovecot/deliver
>> 3720
>> 24919-procmail: Error while writing to
>> "/opt/dovecot/libexec/dovecot/deliver"
>> 24920:From KeineAntwortAdresse at web.de Tue Dec 8 07:19:55 2009
>
> This probably means that deliver crashed. Maybe instead of executing
> deliver directly, you could execute deliver.sh that works something
> like:
>
> #!/bin/sh
>
> cd /tmp
> ulimit -c unlimited
> /opt/dovecot/libexec/dovecot/deliver $*
> code=$?
> if [ $code != 0 ]; then
> echo 'deliver failed'>> /tmp/deliver.err
> fi
> exit $code
>
> Then see if deliver wrote a core file to /tmp or to user's home dir (if
> user has one). If you do get a core file, get gdb backtrace:
>
> gdb /opt/dovecot/libexec/dovecot/deliver core
> bt full
More information about the dovecot
mailing list