Hi. This may be specific to my system (SuSE Linux 8.0, gcc-3.2), but when dbmail-imapd is run in the foreground, Ctrl+C causes it to consume all of the memory. This is repeatable on my box.
I'd imagine this is a known problem, but if not, it is now ;-) Cheers, Richard.