This question isn't exactly dealing with Perl.
Right now I'm working on a few company intranet projects. Basically I'm just doing simple CGI scripts on a Linux server (nothing special). Now the problem is that the scripts need to communicate with someone - that is, they need to e-mail somebody. The computer that I need to send mail to is actually running MS Exchange. According to nmap it's listening for mail, so that isn't a problem. The problem is that both computers are on an internal intranet, and the exchange server doesn't have a fully qualified domain name. So how do I get a perl script to mail this server? Throwing mail at an ip address doesn't seem to work, as sendmail tries to resolve an ip like a domain name.