![]() |
Help forward root email to me
Root receives mail every now an again. Seeing that I have not found a way to fetch root email, I want to forward all email from root to my main email account on the same server. Please help?
|
Quote:
/root/.forward that contains only the email address where the mail shall be forwarded to? |
Man, it's hard finding the simplist answers on google. Is it possible to forward existing mail? I have maybe 300kb of logs stuck in root mailbox.
Thank you |
Quote:
If you have mbox files, make shure thet the account that shall receive the mail has no mails inside, then copy the mbox file from the root user over the (empty) mbox file of the other user. It is a good idea to stop postfix while you are doing this :D |
Great! Will do that. Or if you're too lazy or have no idea what maildir or mbox is, just log into webmin and read the email then delete them :D. Now just wait to for the next email logs to get forwarded. :cool:
|
If you are running logwatch, you can also edit the line in your logwatch.conf which is:
Code:
MailTo = rootPersonally, I also like to change the detail to high Code:
# The default detail level for the report. |
Yea, I already set log watch to high. Now I get mail from logwatch I completely don't understand :eek:.
|
/etc/aliases???
I've always found that adding a "root: username_to_forward_to" line to your '/etc/aliases' file is the best option for forwarding root's email.
|
Converting MBOXes.
Quote:
I used it on over 6 GB of mailboxes, and it was finished in about half an hour on my test rig. :) |
Quote:
|
| All times are GMT +2. The time now is 18:11. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.