User:Svamberg/Logs to mail: Difference between revisions

From FAIWiki
Jump to navigation Jump to search
(initial text)
(No difference)

Revision as of 12:49, 4 December 2005

Use this hook if you can getting logs by mail.

Install

  • get this source savelog.DEFAULT and store to $FAI/hooks
  • install package libmail-sender-perl to your nfsroot

Configure

Change parameteres in head of hook file:

  • @SEND_TO - array of target mails
  • $SEND_FROM - outgoing mail address
  • $SMTP_SERVER - adress of server for outgoing mail