I'm getting this all the time now so I guess it counts as a bug. Only on upgrading from 10.4 to 10.5
Every machine that I upgrade to 10.5.6, mail freezes up. It opens, upgrades mail database and then hangs and needs to be force quit.
The fix seems pretty straightforward, to bin the prefs file in the user library and reimport all the mail etc.
It's annoying though since you need to remember to make a note of all your mail settings before you upgrade.