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 keineantwortadre...@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

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

Reply via email to