It would have to be on a server somewhere, not on a home machine (those are typically behind multiple levels of NAT-ing).
That itself is not a problem.
The problem is that with IMAP and POP3, this server would have to be able to log into the user's account.
And that's the trust issue I mentioned here:
http://www.aqua-mail.com/forum/index.php?topic=4858.0