I have a problem with sendmail. I have a masquerading server at my house so
everyone at home can get on the net at the same time. I have the box set up
to save the current dynamic IP addy in a file when it gets disconnected and
reconnects. I'm trying to get a script I wrote to use Sendmail to E-mail
the IP address to me (later to automatically change a file on my computer at
school once I have a static IP) so I can pick it up and access the box or my
home network when I want.
Problem: Sendmail resolves the DNS's and picks up the correct server to
E-mail the addresses, BUT when I look at the logs (and check my E-mail) ...
"network unreachable". Why is this? Everywhere, I've looked for a
solution. You guys are my last hope, DON'T*ME OFF! Hahahaha, just
open(MAIL, "|sendmail -t");
print MAIL "Local IP address is yati.yati.yati.yati ($ARGV)\n";
print MAIL "Date/time/bla/bla/bla\n\n";
# last note, I think for some stupid reason, I think MIME headers needed???