nello
Patron
- Joined
- Dec 30, 2012
- Messages
- 351
I have a bash script in a MythTV Jail and I want it to email the log that it produces. I've seen several threads about sending email from scripts running on FreeNAS, but none in which the script runs in a Jail.
For example, consider this command:
When entered on the FreeNAS terminal (logged in as root), I receive a text.
When entered on the MythTV Jail terminal (logged in as root), I receive nothing even though there is no error.
How do I send an email from within a script running in a Jail?
For example, consider this command:
Code:
echo "body" | mail -s "subject" myVerizonPhoneNumber@vtext.com
When entered on the FreeNAS terminal (logged in as root), I receive a text.
When entered on the MythTV Jail terminal (logged in as root), I receive nothing even though there is no error.
How do I send an email from within a script running in a Jail?