Bug fix: not sending mail in some hosts