Link to home
Start Free TrialLog in
Avatar of awakenings
awakenings

asked on

/var/mail/root - emailing on SUSE 10.0

I am a Linux newbie, but I want to figure out the next automation step.  I want to have what ends up going to /var/mail/root go to an email client so I can read it.  I would love and easy report or even how to read that file in email so I can analyze problems quickly.  I have crontab issues that I would like to know about ahead of time and make sure I don't run into any issues.

Thanks,

Awakenings
Avatar of awakenings
awakenings

ASKER

P.S.  If you can tell me how to relay to an external email server, I would be very happy!

P.P.S.  I'm out tonight so I'll look at everything tomorrow.
SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok...  I installed pine as that seems to be the way to go.  It is fine with me and I am looking to learn best practices on linux anyway.  I may be doing this completely wrong, but I'd like your help anyway.  I configured incoming-folders-to-check to \var\mail as that contains the messages I am looking for.  There are a few hundred messages present so it seems.  It is the best policy to delete these messages -- as many of them are routine notes that my cron jobs ran properly?  To me they look mundane, but are useful for troubleshooting when things go awry.

    To jump back to my second question, I probably didn't explain myself well.  Is there a way to forward particular types of emails from Pine to an external email list or group?  For example, I have an output of syslog messages that I run through swatch every day.  It outputs the information in plain text.  Can I have this automated to send those txt files through the use of pine?  I'm trying to see what my options are with pine.  Can I send the messages I am picking up now through /var/mail to an external email client?

Thanks!

Awakenings
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok...  I got some basics set up and working.  I'll give ya points and open up another setting to go forward.  Thanks.
A pleasure to help:)