Do not do dns lookup when creating mail session
Merge pull request #6095 from ctomc/mail

Do not do dns lookup when creating mail session