For the Android, it is:

Incoming

Protocol: IMAP
Username: username@domain.com
IMAP Server: android.imap.mail.yahoo.com
Security Type: SSL
Port: 993

Outgoing

Login Required: checked
SMTP Server: android.smtp.mail.yahoo.com
Security Type: SSL
Port: 465