On 04 Sep 2001 15:56:33 -0700, Bill Warner wrote:
> can you not just do it the old redirected way?
>
> mail -s "my log file" my@email.address < /var/log/messages
>
This worked, so thank you, but what about binary attachments? Is that
possible?
Say like this.
I have a small recording device hidden out side my front door. I have a
video only feed from a camera hidden near my front door. They both
record to a directory called /security and the audio goes into a file
called 'date +%Y_%M_%D'audio.mp3 and the video goes into 'date
+%Y_%M_%D'video.mpg and I want both of those emailed to my mail server
which will automatically strip the mp3 and mpg files and puts them into
my database.
Except right now, I have to manually mail the binary attachments.
Anyway of doing this?
nathan