Revert "remove explicit mail host setting, and use the localhost"

This reverts commit de3e92a4bf8f687ae410aaf598a7e08ee64c545b.