[thelist] shell script problem

Rob Schumann roblgs at cscoms.com
Thu Mar 20 07:00:36 CST 2003


Hi All,

I have a little problem with a shell script backup, compress server
logfiles and then send the result to the site owner as attachments to
email.

The first parts are no problem, but the emailing bit has me stumped. Is
there some way for a shell script to communicate directly (or indirectly
come to that) with sendmail??

My guess is that I would have to manually assemble the mail headers
within the shell script, adding the attachment and then pass this on to
sendmail for despatch.

Does anyone have a readymade solution for this... or some pointers to
how to do it/where to find the answers.

TIA

Rob


More information about the thelist mailing list