Changes

Jump to navigation Jump to search
1 byte removed ,  04:36, 22 April 2021
move from contribs to how-to
Line 18: Line 18:  
If you want the mail message in html format you must edit the main perl script with your favourite editor (mc, nano, joe, vi....):
 
If you want the mail message in html format you must edit the main perl script with your favourite editor (mc, nano, joe, vi....):
 
  /usr/share/logwatch/scripts/logwatch.pl
 
  /usr/share/logwatch/scripts/logwatch.pl
find the line (it should be line 78):
+
find the line (it should be line 85):
 
  $Config{'output'} = "unformatted";
 
  $Config{'output'} = "unformatted";
 
and modify it in:
 
and modify it in:
 
  $Config{'output'} = "html";
 
  $Config{'output'} = "html";
 +
 
===Parsing Fetchmail log===
 
===Parsing Fetchmail log===
 
The actual release does not contain a script to parse /var/maillog; you can simply add a script and the related conf to do this.
 
The actual release does not contain a script to parse /var/maillog; you can simply add a script and the related conf to do this.
Line 161: Line 162:  
  root:root rw-r--r--
 
  root:root rw-r--r--
   −
[[Category:Administration:Monitoring]][[Category:Contrib]]
+
[[Category:Administration:Monitoring]][[Category:Howto]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu