Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Which packages need to be installed in order for system mail to be generated from for example a nightly rkhunter scan run by cron?

share|improve this question
    
And, is there anything included by default or must I install a package? I notice that /usr/bin/mail is not installed by default. –  Stefan Lasiewski Dec 2 '11 at 5:15
    
Related: askubuntu.com/questions/2261/… –  Mechanical snail Nov 3 '12 at 5:03
add comment

2 Answers

I use mutt (sudo apt-get install mutt) to read it from the command line on my local machine.

You can also forward the mail onto a "real" email address. I have three servers that all do their system error reporting to the root mailbox. I forward these all to my GMail account by editing /etc/aliases and adding:

webuser: root
root: oli@my-email-domain.com

Obviously you'll have a different setup but if you just want your user's email, stick your username in there with your real email address.

share|improve this answer
    
What does the webuser: root part do? –  Nick HS Oct 18 '10 at 12:51
    
I run my websites under a non-root user (for security). That bit forwards email from the webuser account to root. It just saves me typing out my email address twice. –  Oli Oct 18 '10 at 12:52
1  
+1 for aliases. I make liberal use of them when I setup a server (and to a lesser extent on my desktops). For my servers, I have things like webmaster, postmaster, root, etc. go to mailing lists (really more aliases) so that multiple people easily get the notices. –  Don Faulkner Oct 18 '10 at 13:47
add comment

You can create a local email account in Evolution. If the system mails are forwarded to your user you will be also notified about it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.