Now that I have the hostname, I can go on to the real purpose of this: try to find an SMTP server nearby. Of course, I'll check Net::Config and try to connect to localhost on port 25. But what else can I do? Does Net::DNS work on Macs? (It doesn't on Win95). Would some Macs have environment variables like $ENV{MAILHOST} set? And of course, I would like to find the MX records for the local domain. WinNT and Linux are easy: `nslookup ....`. What about Macs? Would it have implemented `nslookup` as with `hostname`? Or would some Macs have such a command (I read something about Unix tools in a new Mac OS)? ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org