On 10/19/2010 1:23 AM, Stephan Bosch wrote:
 Op 19-10-2010 0:43, Aaron schreef:
 On 10/18/2010 3:38 PM, Stephan Bosch wrote:
Could you provide some more info, i.e. a gdb backtrace?


Ack! Sorry about that, wasn't trying to message you personally, just wanted to let someone know.

I can't get this to do it reliably, i only noticed it by accident looking through some logs, and traced it back to some *very* large incoming emails.

The emails seem to get delivered eventually, but they definitely fail on the first try.


What if you try to re-deliver exactly those large messages again?

Regards,

Stephan.

Then it seems to work.. by default my setup retries on failure.

Actually had some automated messages (fail2ban) retry 3 times today.. weird, since they're only about 4k. Same segfault. They're local deliveries (generated on the same server), and running through Sieve. Transport path is qmail-send->qmail-scanner->maildrop->dovecot-lda (since I do have some rules on my server that require hooks into external applications).

The relevant maildrop code is

if ( $RETURNCODE == 0)
        {
        `test -r  $HOME/$LCEXT/.sieve`
        if ( $RETURNCODE == 0)
                {
                exception {
to "| /usr/libexec/dovecot/deliver -d $lc...@$host"
                        }
                }
        }

Where LCEXT is the lower case representation of the user's name, and HOST is the domain name.

Reply via email to