Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-2009, 01:04 PM
Loyal Member
 
Posts: 89
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
Reply With Quote
  #2 (permalink)  
Old 02-05-2009, 02:27 PM
Moderator
 
Posts: 1,554
Default

could you just add a .forward in /root to forward it to admin@domain.com?
Reply With Quote
  #3 (permalink)  
Old 02-05-2009, 03:04 PM
Moderator
 
Posts: 1,209
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
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #4 (permalink)  
Old 02-05-2009, 05:49 PM
Loyal Member
 
Posts: 89
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..
Reply With Quote
  #5 (permalink)  
Old 02-05-2009, 06:31 PM
Moderator
 
Posts: 1,209
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
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #6 (permalink)  
Old 02-05-2009, 06:40 PM
Loyal Member
 
Posts: 89
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..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.