[Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

Timo Sirainen tss at iki.fi
Tue Dec 29 23:19:28 EET 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091229/43194c41/attachment.bin 


More information about the dovecot mailing list