I got all of those errors fixed by reinstalling fresh OS. Now I can send emails, but I can not receive them and I have no idea where to look for this problem. Any help with this?
Edit: after tests I've been randomly received email from the Hotmail in 15-20 minutes after actually sending the email. Gmail hasn't worked at all.