Changed mail server to use local ip as some platforms don't like localhost