HOWTO Setup Logwatch: Difference between revisions

From Research
Jump to navigation Jump to search
Mmmark (talk | contribs)
revert
Mmmark (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
This guide assumes you have installed:
== Assumptions ==
-logwatch
This guide assumes you have setup a Mail Transport Agent, such as sSMTP, Nullmailer or Postfix. If not, you can follow the [[HOWTO Setup sSMTP|sSMTP Guide]], [[HOWTO Setup Nullmailer|Nullmailer Guide]], or the [[HOWTO Setup Postfix|Postfix Guide]].
-postfix (mail transport agent - MTA)


Configure Postfix; the relevant settings to be tweaked are presented:
== Install Logwatch ==
<br>
myhostname = zero.iat.sfu.ca
mydomain = iat.sfu.ca
sender_canonical_maps = hash:/etc/postfix/sender_canonical
virtual_maps = hash:/etc/postfix/virtual
relayhost = ''gotta check on this!''


Set root's ~/.forward to:
# emerge logwatch -va
<br>
 
  research-admin@tirpitz.iat.sfu.ca
Set root's ~/.forward file to:
  admin@siat.sfu.ca
  some_co_amin_name@sfu.ca
  some_co_amin_name@sfu.ca
== Test ==
# logwatch.pl
== Also See ==
* [[Customizing Logwatch]]

Latest revision as of 20:13, 3 May 2006

Assumptions

This guide assumes you have setup a Mail Transport Agent, such as sSMTP, Nullmailer or Postfix. If not, you can follow the sSMTP Guide, Nullmailer Guide, or the Postfix Guide.

Install Logwatch

# emerge logwatch -va

Set root's ~/.forward file to:

admin@siat.sfu.ca
some_co_amin_name@sfu.ca

Test

# logwatch.pl

Also See