User:Svamberg/Logs to mail

From FAIWiki
< User:Svamberg
Revision as of 12:49, 4 December 2005 by Svamberg (talk | contribs) (initial text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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