Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931
class="post-924 post type-post status-publish format-standard hentry category-gnulinux category-linux category-quickfix category-technical tag-logwatch tag-sendmail">

Make Logwatch identify/ignore Subject line in maillog


Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Making changes to the way log entries appear in logfiles makes scream with ”
**Unmatched Entries**” error in the reports. My earlier post on maillog modification did the similar thing. Errors bailed out in logwatch report where in script failed to identify the Subject as the genuine entry. To resolve this, logwatch .conf file can be modified as follows to identify Subject: as a filter.

$Sendmail_MatchFilter = ” \
if ( $ThisLine =~ /Subject:/ ) { \
$ThisLine = ”; \
}”

This helps to make logwatch ignore the Subject: line appearing in your sendmail maillog.

Enjoy!

Tags: , ,

Published by


Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Omshivaprakash

Gnu/Linux Enthusiast, Kannadiga, Wikipedian, Amateur photographer, trekker and more


Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931
Posted on
Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931
Categories Gnu/Linux, linux, QuickFix, Technical
Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931
Tags ,

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Leave a Reply


Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Your email address will not be published. Required fields are marked *


Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in /home/techfiz/public_html/platonic/wp-includes/wp-db.php on line 1931