Also make sure your login credentials (email + password) are correct, and that IMAP is enabled in your mailbox settings.
If mail.freehostia.com doesn’t work, check Freehostia’s documentation or contact their support — some hosting providers use a different mail hostname or require specific ports/auth settings.