Changes

Jump to navigation Jump to search
1 byte added ,  13:57, 12 July 2017
m
→‎Mail messages in html: correct line number
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.
12

edits

Navigation menu