Tobi: > Hi Wietse > > using your suggestion with valgrind I found that the main-stacksize > seems to be the problem. By using --main-stacksize with different values > I found that the last working value is 59449345, changing to ...344 let > postmap segfault: > > > valgrind -s --main-stacksize=59449344 --tool=memcheck postmap -h -q - > > pcre:/etc/postfix/mime_header_checks.pcre </tmp/borked_1.header > > > > ==7988== Stack overflow in thread #1: can't grow stack to 0x1ffb74f000 > > We will try allowing more stacksize by /etc/security/limits.conf to > postfix and re-design our pcre pattern(s) to avoid (where possible) the > usage of .* without any limits :-) > > Thanks a lot for your appreciated help
Good job! Wietse