I was looking at:
http://wiki.amahi.org/index.php/Monitor ... via_E-mail
and it tells you to edit /usr/share/logwatch/default.conf/logwatch.conf to get the logwatch email to go to someplace other than root.
The problem with this recommendation is that there are MANY cron outputs to root that you want to go elsewhere and there are two ways to get email for root to go to the email account of choice:
Create the file /root/.forward
It has a single line with the email where you want root's email to go to.
Edit cat /etc/aliases
Edit the last line:
#root: marc
By removing the # and replacing 'marc' with the targetted email address. Then run 'newaliases'.
The alias file is processed before the .forward file. These methods are fairly similar for simple uses. If you want to get fancy, you better read up on each and choose your preference. I have used both; but never both on a single system.
This is much better instructions than changing the MAILTO for logwatch, and then for cron, and anacron, and...
Creating a wiki page on root email
Re: Creating a wiki page on root email
Yep, this page is out of date. Please feel free to make updates.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Creating a wiki page on root email
OK, I give.
How do I create a new page to show how to route root emails for this page to point to?
I just spent 15 min on the wike looking for some 'create a wiki page', but just can't find it...
How do I create a new page to show how to route root emails for this page to point to?
I just spent 15 min on the wike looking for some 'create a wiki page', but just can't find it...
Re: Creating a wiki page on root email
i stumbled onto a way to create a new wiki page: Simplely provide the wiki page in the browser URL, and then click on create. I don't know if that is the preferred way, or how to link pages in, but I got something up at:
http://wiki.amahi.org/index.php/Forward_System_Emails
Then I went and edited:
http://wiki.amahi.org/index.php/Monitor ... via_E-mail
To bring it up to date (it references Fedora 9 & 10) and to refer to my wiki forwarding page.
Please check these pages over and see if they are readable.
http://wiki.amahi.org/index.php/Forward_System_Emails
Then I went and edited:
http://wiki.amahi.org/index.php/Monitor ... via_E-mail
To bring it up to date (it references Fedora 9 & 10) and to refer to my wiki forwarding page.
Please check these pages over and see if they are readable.
Re: Creating a wiki page on root email
You got it...no create page link. That is the same way I create new pages Thanks for making the updates.
BTW, are you documenting a way to change the port from 25 to 587? I need to do that on my HDA I think.
BTW, are you documenting a way to change the port from 25 to 587? I need to do that on my HDA I think.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Creating a wiki page on root email
BTW, are you documenting a way to change the port from 25 to 587? I need to do that on my HDA I think.
Turns out to be absolutely trivial. See private note. A one line change in /etc/postfix/master.cf.
Who is online
Users browsing this forum: No registered users and 51 guests