User:Svamberg/Logs to mail

From FAIWiki
< User:Svamberg
Revision as of 14:12, 5 December 2005 by Svamberg (talk | contribs) (Spelling check)
Jump to navigation Jump to search

Use this hook if you want to get logs by mail.

Install

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

Configure

Change parameteres in the hook file header:

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