Results 1 to 6 of 6

Thread: [SOLVED] root's mbox => zimbra admin inbox

  1. #1
    Join Date
    May 2008
    Location
    Des Moines, IA
    Posts
    89
    Rep Power
    7

    Default [SOLVED] root's mbox => zimbra admin inbox

    Hey all, I did attempt to search the forum for routing all system and security log messages from mbox to the zimbra admin inbox but I got way too many results.

    I'm using CentOS 5.2, when you install it sendmail is the default mta. Any system errors or noteworthy security log messages are sent to root's mbox for review. When you su to root, a message is displayed telling you that you have x new messages. You enter # mail at the prompt, then select messages by number to review.

    What I would like to do is route all of these message to my admin inbox. Is there a way to do this? I'm sure this has already been written up but if someone can point me in the right direction I would appreciate it.

    Thanks in advance,
    todd_dsm

    Don't forget to Vote for this RFE:
    RFE: A place To Display the contents of 'My Documents'
    Reasoning: It's new, bold, and cool.
    Last edited by todd_dsm; 10-08-2010 at 09:52 AM. Reason: title changed to root's mbox => zimbra admin inbox on SOLVED

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    could you just add a .forward in /root to forward it to admin@domain.com?

  3. #3
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    Default

    Quote Originally Posted by todd_dsm View Post
    Hey all, I did attempt to search the forum for routing all system and security log messages from mbox to the zimbra admin inbox but I got way too many results.

    I'm using CentOS 5.2, when you install it sendmail is the default mta. Any system errors or noteworthy security log messages are sent to root's mbox for review. When you su to root, a message is displayed telling you that you have x new messages. You enter # mail at the prompt, then select messages by number to review.

    What I would like to do is route all of these message to my admin inbox. Is there a way to do this? I'm sure this has already been written up but if someone can point me in the right direction I would appreciate it.

    Thanks in advance,

    T
    In SLES you can add an email address to the /etc/aliases file.

    Here's the top part of the file from one of our utility servers:

    Code:
    # This is the aliases file - it says who gets mail for whom.
    #
    # >>>>>>>>>>      The program "newaliases" will need to be run
    # >> NOTE >>      after this file is updated for any changes
    # >>>>>>>>>>      to show through to sendmail.
    
    # It is probably best to not work as user root and redirect all
    # email to "root" to the address of a HUMAN who deals with this
    # system's problems. Then you don't have to check for important
    # email too often on the root account.
    # The "\root" will make sure that email is also delivered to the
    # root-account, but also forwared to the email address indicated.
    root:   engineering@reliablenetworks.com, \root

  4. #4
    Join Date
    May 2008
    Location
    Des Moines, IA
    Posts
    89
    Rep Power
    7

    Default

    Wow, that was suspiciously easy...hmmm

    Anyway, thank you both for the help. Sometimes it's just a matter of knowing which man page to read...

    Rockin-
    todd_dsm

    Don't forget to Vote for this RFE:
    RFE: A place To Display the contents of 'My Documents'
    Reasoning: It's new, bold, and cool.
    Last edited by todd_dsm; 10-08-2010 at 09:53 AM.

  5. #5
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    Default

    Glad we could help Todd! This stuff is anything but intuitive...

    FWIW, whenever I get stumped trying to do something, I always ask myself whether the challenge at hand represents a pretty broad need and how critical that need is. If the need is both broad and fairly critical, then I find that overly simple Google searches generally get me the solution. If you ran a Google search for "forward root's mail", you would have found several more ways to skin this cat.

    I'm not trying to be snarky or even hint at RTFM or anything like that at all; I've gotten a lot of help here on the forums and I am genuinely pleased for the opportunity to give back to the Zimbra community.

    I'm just saying that I agree with you that you have to know at which man page(s) to look to get the answer(s) you need, so simplifying things and using very simple Google searches has for me been a boon--even with Zimbra problems where the overly simple Google search trick for me has found things on these forums that the Forum search tool didn't find as readily.

    Hope that helps, and hope your Zimbra experience is a successful one.

    All the best,
    Mark

  6. #6
    Join Date
    May 2008
    Location
    Des Moines, IA
    Posts
    89
    Rep Power
    7

    Default

    I don't think you're being snarky; everyone here, and most other places, has been a huge help. I couldn't appreciate it more.

    And you're right, it's not so intuitive every time but I don't mind committing my self to a knowledge base, so long as that base isn't dissolving under my feet the moment I learn it. Coming from a MS background, it became quite a trudge learning new technologies knowing that it was just going to change in a year. But, as one friend told me, once you have grep, that aint never goin' away

    Personally, I love it. You guys are what makes the community roll.

    Thanks again!
    todd_dsm

    Don't forget to Vote for this RFE:
    RFE: A place To Display the contents of 'My Documents'
    Reasoning: It's new, bold, and cool.
    Last edited by todd_dsm; 10-08-2010 at 09:53 AM.

Similar Threads

  1. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  2. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  3. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  4. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM

Posting Permissions

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