LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Andreja Zivkovic <andy@zivkotech.net.au>
  To  : <lloy0076@rebel.net.au>
<jim@kendle.com.au> Date: Fri, 10 Nov 2000 12:21:40 +1030

RE: A few questions (auto mail script + SSH related)

You can also send the body of the e-mail to the 'mail' command (/bin/mail on
my system), instead of sending directly to sendmail. I use the following
line to e-mail me when my modem redials (perm link with auto redial), so I
can make sure my phone bill isn't higher than it should be.

/bin/date | /bin/mail zivkotech -s 'Modem reconnect'

It sends the e-mail from the current user.

I wish I could get it so it'd e-mail it every time it attempts to dial (so I
know when the reconnect fails), but that's something I may try to do some
other time.


Andy

> -----Original Message-----
> From: lloy0076@rebel.net.au [mailto:lloy0076@rebel.net.au]
> Sent: Friday, 10 November 2000 10:10 AM
> To: Jim O'Halloran
> Cc: 'Michael Kratz'; linuxsa@linuxsa.org.au
> Subject: Re: A few questions (auto mail script + SSH related)
>
>
>
> Jim!
>
> >  echo "To: Someone <someone@somewhere.org>"
> >  echo "From: Jim OHalloran <jim@kendle.com.au>"
>
> > PS: If someone could tell me why messages created by the above
> script and
> > delivered into POP mail boxes managed by QPopper cause problems (invalid
> > from field apparently), I'd be really happy!
>
> You could try quoting the Jim O'Halloran with backward single quotes...
> 'Jim OHalloran'...but that looks like a valied address with or without
> the quotes anyway.
>
> DL
> --
> Do you believe in life after love?
>  I can feel something inside me, say
>  I really don't think you're strong enough....
>
> --
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page