Settings - Email help

Status
Not open for further replies.

unijabnx2000

Dabbler
Joined
Mar 30, 2012
Messages
27
In the email setting it doesnt say the "To" address.
Where does it send it?



Email2e.png
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Its discussed in the manual, but it sends it to the "root" account. If you edit the root users settings, you put the address you want it forwarded to there.
 

unijabnx2000

Dabbler
Joined
Mar 30, 2012
Messages
27
i went to the docs wiki, looked, didnt see it, but thanks!

- - - Updated - - -

So now that it can send emails... where do i select what logs to send?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
http://doc.freenas.org/index.php/Settings

This is the documenation I mentioned, it's about 2/3 of the way down.

You can't select which logs to send, not yet anyway. I don't recall seeing a feature request for that, but you can go to support.freenas.org and add a ticket for that feature if you don't find one already.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
If you are familiar with scripting in .sh format you could setup a mail message that contains the body of the log files you choose. There's lots of scripts around the forum you could probably read and with some Googling figure out how to get it to do what you want.
 

unijabnx2000

Dabbler
Joined
Mar 30, 2012
Messages
27
im not familiar with sh.
But i know a little about bash.
I was successful in using the mail -s command
but not sure how to put that in a bash script (but i know how to set it up to run with cron)

- - - Updated - - -

OK found this and it tells me how. Thanks!

http://www.simplehelp.net/2008/12/01/how-to-send-email-from-the-linux-command-line/

- - - Updated - - -

where can I save the script to?
I tried to make a folder and error saying read only filesystem came up.
 
Status
Not open for further replies.
Top