The problem was with DNS resolver (!). I removed 127.0.0.1 from
resolv.conf leaving 129.240.2.3 there. Result: no segfault. Then I added
'nameserver 127.0.0.1' to resolv.conf - segfault again.
I'm running dnscache from djbdns package.
* Kirill Miazine <km-list-exim@???> [20011130 09:05]:
> Hello,
>
> I do sometimes get delayed messages in the queue end to flush them I run
> exim -d9 -M message_id. But I seem to have a problem: Exim segfaults
> when it reaches one router when -d is 8 or higher. Works perfectly whith
> lower debugging mode.
>
> This segfault thing also happen when doing exim -d9 -bh some-ip-addr and
> it comes over that router when verifying RCPT TO: address.
>
> Here's the router causing troubles:
>
> relay_block:
> driver = domainlist
> domains = RELAY_DOMAINS
> condition = ${lookup {${sg {$local_part} {^([^+]+).*\$} {\$1}}} cdb \
> {BLOCKED_USERS} {1} {0}}
> route_list = *
> verify_only
> fail_verify
It's probably not the router per se causeing troubles, but the domain in
tries to route to.
Many thanks to Philip for providing a pointer to the problem.
--
Kirill