Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail sent by cron

Status
Not open for further replies.

tomwe

Programmer
Oct 27, 2003
17
0
0
US
system is SCO 5.0.6 running sendmail.

i have a cron job that creates and sends automatic emails
the script generates and runs a command line call to mail like the following:
mail user@company.com -s Subject < textfile.txt

now this is all working great except that the email header shows that the mail is coming from "root" and i would like it to come from "servicemanager"

any ideas?

thanks
tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top