[Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve
Steve Wagner
lists at lanwin.de
Sun Jan 10 14:27:28 EET 2010
Sorry for the late answer, i was quiet busy the time.
I now execute the script. I report back when the error occures next time.
Steve
Am 29.12.2009 22:19, schrieb Timo Sirainen:
> 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