in reply to $ENV{REMOTE_HOST} not set on new server?
Tell us a bit more about the environment:
Server, OS, Versions of all, etc.