I wrote a simple script to have my machine at home dial up my ISP and
then send me an e-mail at work telling me the IP address it was
assigned.  It does this four times a day, (cron job) giving me a window
of 30 minutes each time to telnet or ftp to my home machine, if I
desire.

Worked great for about a week.  But yesterday, something happened.  Now,
it still logs itself on and sends me an e-mail, but the e-mail is
missing both the subject and the body.  Completely blank.  Completely
useless.  I made no changes to the script.  The only thing I did was
mess around with pine (for unrelated reasons), changing a couple of
configurations.  Could this somehow have messed up mail?  Like I said-
technically it's still working; the notes are just coming through
blank.  (And I can send and receive other e-mail (using Netscape)
normally.)

Here's the script:

#!/bin/bash

pppd &

sleep 90

ifconfig ppp0 | grep inet | mail -s "Bogey's online at..."
[EMAIL PROTECTED]


Thanks in advance for any clues...

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
       Joe Nestlerode, DuPont R&D           `Powered by Linux'
          Wilmington, Delaware            ( A user since 1.2.8 )
--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to