Forums

Resolved
0 votes
I have a ClearOS 6.5.0 Final system configured as a gateway. I have the Mail Notification module properly configured and do receive emails from the Software RAID Manager module. I do not use the ClearOS system as a mail server or relay and want the system kept as clean as possible. How can I get root emails currently sent to /var/spool/mail/root to be processed and sent per the the configuration and mechanism specified in the Mail Notification module so they are delivered to my regular gmail inbox just like my ClearOS RAID emails?

Enhancement Request for ClearOS Devs: Please add this as configurable in the Mail Notification module so we can check a box to "Forward root email" and specify a recipient email address.

Peter
In Mail
Friday, January 02 2015, 06:12 PM
Share this post:
Responses (3)
  • Accepted Answer

    Monday, January 05 2015, 07:47 AM - #Permalink
    Resolved
    0 votes
    This one caused me no end of problems as well as I forgot to make this particular hack. I use Mailster for distribution lists attached to a website (for society member distributions) on a couple of systems. On the one I forgot to do this, I was seeing a shed load of blocked emails that made it look like I'd been hacked. If fact, it was just Mailster sending an email to root to inform me it had done something (or not ..) - I wasn't seeing the emails, so couldn't take action as the supposed mail notification feature doesn't take care of the root email redirection.

    So I third the feature request!
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, January 04 2015, 11:25 PM - #Permalink
    Resolved
    0 votes
    For some reason root emails do not make it out through the mail notification module - I like the feature request!

    Quick hack edit /etc/aliases

    Change one line to a local user or external address
    root: adminuser1
    or
    root: adminuser1@anotherdomain.com

    Run 'postalias /etc/aliases' afterwards to import the changes into Postfix
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 03 2015, 03:07 AM - #Permalink
    Resolved
    0 votes
    If you run "rpm -q --requires app-mail-notification-core" you will see that you should already have postfix (SMTP - i.e. mail server) installed...

    So with postfix configured correctly/running and /etc/aliases correctly configured for root's mail - I would have thought it would work with what you already have installed... (but ClearOS sometimes does things differently).
    The reply is currently minimized Show
Your Reply