To set up your Apple mail client to work with Yahoo:
Incoming Mail Server
Account Type : IMAP
Description : You can type a description for your mail
Incoming Mail Server : imap.mail.yahoo.com
User Name : Enter your Yahoo username
Password : Enter your Yahoo password
Outgoing Mail Server
Description : You can type a description for your mail
Outgoing Mail Server : smtp.mail.yahoo.com
User name : Enter your Yahoo username
Password : Enter your Yahoo password
If you currently keep a copy of your mail on the server, then you're done! But if you delete them from the server, then you have to import your old POP mail into your IMAP. Here's how to do it