Tobi:
> So the problem is definitely our pattern in combination with a VERY big
> mime part header. We're on introducing limits where we can in our patterns.
> Anyway I think that this should not end in such an ugly error where
> postfix cleanup goes south because of such header/pattern combination.

Once a program runs out of stack space, that is is an unrecoverable
error.

I don't think that is is reasonable for Postfix to set up signal(SIGSEGV)
handlers around calls into an external (PCRE) library. Even if
Postfix did do that, a process would still have to terminate
immediately, because after SIGSEGV it is unsafe to continue execution.

Note that SIGSEGV does not take down Postfix. Postfix is designed
to recover automatically from crashing (non-master) daemon processes.

So your best bet is to rewrite your patterns.

        Wietse

Reply via email to