[plug] adding attachments

Ryan ryan at is.as.geeky.as
Tue May 13 10:11:00 WST 2003


Please excuse my possible break in threading and lack of quoting, I left half my mailbox at home :)

I'm with James on the cron emailing bit, and would use Perl and MIME::Lite for anything
fancier in the attachment department.

You could also do something crude like this in a shell script called from cron - don't bag me if
it is dodgy, it is done like this on a lot of old SCO systems I have to look after :)

-------

mail -s "chkrootkit report - `date +%a' '%d' '%h' '%Y`" "bob at domain.com, someone at else.com" << END
Blah blah ... story here

Uptime: `uptime`

Date: `date`

`chkrootkit`

Witty closing statements

End of report.
END

-------

Ryan



More information about the plug mailing list