Find the answer to your Linux question:
Results 1 to 2 of 2
In Fedora and FreeBSD, I can receive mail from daemons. And if my scripts scheduled in crontab go wrong, the error message is mailed to root. But in Ubuntu 9.04, ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3

    Daemons don't mail to root



    In Fedora and FreeBSD,
    I can receive mail from daemons.
    And if my scripts scheduled in crontab go wrong,
    the error message is mailed to root.

    But in Ubuntu 9.04,
    the command `mail -u root` gets "No mail for root",
    and the folders /var/mail and /var/spool/mail are both empty.

    Is it that I have to install some packages ,
    or I have to enable something?
    Or Ubuntu just does these in some other ways?

    Thank you.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,465
    Normally in Ubuntu the root account is not enabled, so it might not allow sending mail to it. You need to activate the root account and then try it.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •