I was under the impression that Yahoo only supports IMAP or POP for paid Yahoo! Plus accounts. They don't have a page saying that non-Plus accounts aren't supported, but the only pages about setting up POP or IMAP on their site refer specifically to Plus accounts.