Re: [Dovecot] Segfault in dovecot-lda 2.0.5
On 10/19/2010 12:25 AM, Aaron wrote:
On 10/10/2010 8:48 AM, Stephan Bosch wrote:
Op 10-10-2010 17:30, Sean Cardus schreef:
Any ideas?
Yes, this was reported several times already. First thread:
http://www.dovecot.org/list/dovecot/2010-October/053475.html
Apply this change:
http://hg.dovecot.org/dovecot-2.0/rev/e2f9baa436f2
That should fix it.
I'm seeing a similar crash when piping in excessively large (7-10mb) emails. I have already applied the listed change, which fixed this issue with normal sized email.
Could you provide some more info, i.e. a gdb backtrace?
Regards,
Stephan
On 10/18/2010 3:38 PM, Stephan Bosch wrote:
On 10/19/2010 12:25 AM, Aaron wrote:
On 10/10/2010 8:48 AM, Stephan Bosch wrote:
Op 10-10-2010 17:30, Sean Cardus schreef:
Any ideas?
Yes, this was reported several times already. First thread:
http://www.dovecot.org/list/dovecot/2010-October/053475.html
Apply this change:
http://hg.dovecot.org/dovecot-2.0/rev/e2f9baa436f2
That should fix it.
I'm seeing a similar crash when piping in excessively large (7-10mb) emails. I have already applied the listed change, which fixed this issue with normal sized email.
Could you provide some more info, i.e. a gdb backtrace?
Regards,
Stephan
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.
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.
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
$LCEXT@$HOST"
}
}
}
Where LCEXT is the lower case representation of the user's name, and HOST is the domain name.
participants (2)
-
Aaron
-
Stephan Bosch