Over the years I’ve heard the odd complaint that MDaemon will crash when a RDP (remote desktop / TSE) session connects.
I’ve never reproduced this in the lab, so I can’t confirm the fix, but I’ve heard a rumour that Microsoft KB article 914048 solves the problem.
Please post in the comments if you have this problem and whether or not the fix works?