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
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
Share this post:
Responses (3)
-
Accepted Answer
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! -
Accepted Answer
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 -
Accepted Answer
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).
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »