SF.net SVN: logwatch:[277] branches/beta-7-4-2/conf/services/sendmail.conf

[email protected] Wed, 24 Dec 2014 14:01:11 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 277
          http://sourceforge.net/p/logwatch/code/277
Author:   stefjakobs
Date:     2014-12-24 14:01:10 +0000 (Wed, 24 Dec 2014)
Log Message:
-----------
patch39: sendmail changes with more debuging enabled (part2)

Modified Paths:
--------------
    branches/beta-7-4-2/conf/services/sendmail.conf

Modified: branches/beta-7-4-2/conf/services/sendmail.conf
===================================================================
--- branches/beta-7-4-2/conf/services/sendmail.conf	2014-12-24 13:55:54 UTC (rev 276)
+++ branches/beta-7-4-2/conf/services/sendmail.conf	2014-12-24 14:01:10 UTC (rev 277)
@@ -37,14 +37,18 @@
 #Detail = 5
 #
 # The defined values of Detail are as follows:
-# Detail >= 0: Will print:";
-#                         - severe errors and basic statistics";
-# Detail >= 3: Print above plus:";
-#                         - counts of errors handled by sendmail";
-# Detail >= 5: Print above plus:";
-#                         - details of errors handled by sendmail";
-# Detail >= 10: Print above plus:";
-#                         - all statistics gathered";
+# Detail >= 0: Will print:
+#                         - severe errors
+# Detail >= 1: Print above plus:
+#                         - basic statistics
+# Detail >= 3: Print above plus:
+#                         - counts of errors handled by sendmail
+# Detail >= 5: Print above plus:
+#                         - details of errors handled by sendmail
+# Detail >= 10: Print above plus:
+#                         - additional information
+# Detail >= 15: Print above plus:
+#                         - additional verbose information
 
 # Note that Detail is independent of sendmail's LogLevel.
 # The logwatch script should be able to handle any logging level
@@ -62,14 +66,23 @@
 # This may be used for user-defined statements that should appear on the log,
 # but not reported by logwatch.
 
-# $Sendmail_PrettyHost is used to format host entries in a tabular
-# format.  It is mostly useful when you have a very large number of
-# entries for errors that display host names/addresses.  If not
-# specified, the default is 0, which indicates that no additional
-# host formatting is done.  Set to 1 to enable the host formatting.
-#$Sendmail_PrettyHost = 0
+# $Sendmail_PrettyPrint is used to display entries in a tabular
+# format.  If not specified, the default is 1, which indicates
+# that the output is formatted.  Set to 0 to disable the
+# formatting.  When set, the output is best viewed in a terminal
+# with 80 or more columns.  Very long hostnames are truncated to
+# the nearest period.  Truncated hostnames are displayed with a
+# "..." prefix.
+#$Sendmail_PrettyPrint = 1
 
+# $Sendmail_PrettyHost also aligns IPv4 addresses in a column
+# format as well.  If $Sendmail_PrettyPrint is set, then
+# $Sendmail_PrettyHost is treated as if set, regardless of the
+# value shown here.  It has been kept for backwards compatibility.
+# If not specified, the default is 1.
+#$Sendmail_PrettyHost = 1
 
+
 # The following are examples of the use of variables SendmailMatchFilter,
 # Sendmail_ReportFilter, and $Sendmail_MilterHeadersToCount.
 # To uncomment and use these specific examples, remember to remove the '#'
@@ -78,6 +91,9 @@
 # each line (except the last one) with a \ to denote a continuation line
 
 #$Sendmail_MatchFilter = "                                                   \
+#   # first we declare a scope for later use by Sendmail_ReportFilter        \
+#   package MatchFilter;   						    \
+#   our %DatabaseBuild;							    \
 #   # filter and count how many times the alias database is rebuilt          \
 #   if ( ($User) = ($ThisLine =~ /^alias database .* rebuilt by (.*)/ ) ) {  \
 #      $DatabaseBuild{$User}++;                                              \
@@ -87,18 +103,19 @@
 #   }                                                                        \
 #                                                                            \
 #   # here we'll choose to ignore and not report the 'lost input channel'    \
-#   #   statements                                                           \
+#   #   statements.  This is for illustrative purposes.  The same can be     \
+#   #   accomplished by setting $sendmail_collecterrorthreshold to zero.     \
 #   if ( $ThisLine =~ /^lost input channel from/ ) {                         \
 #      # we re-assign an empty string to $ThisLine to prevent further        \
 #      #   processing of this log line by the sendmail script.               \
 #      $ThisLine = "";                                                       \
 #   }"
-
+#
 #$Sendmail_ReportFilter =   "                                                \
-#   if (keys %DatabaseBuild) {                                               \
+#   if (keys %MatchFilter::DatabaseBuild) {                                  \
 #      print "\n\nDatabase re-built by:";                                    \
-#      foreach $User (keys %DatabaseBuild) {                                 \
-#         print "\n    $User: $DatabaseBuild{$User} Time(s)";                \
+#      foreach $User (keys %MatchFilter::DatabaseBuild) {                    \
+#         print "\n    $User: $MatchFilter::DatabaseBuild{$User} Time(s)";   \
 #      }                                                                     \
 #   }"
 
@@ -118,21 +135,22 @@
 #Sendmail Config Values
 $sendmail_mailbomblistthreshold = 25
 $sendmail_mailbombthreshold = 10
-$sendmail_unresolveddomainsthreshold = 1
 $sendmail_knownspammerthreshold = 1
 $sendmail_relaydeniedthreshold = 1
 $sendmail_checkmailrejectthreshold = 1
 $sendmail_checkrcptrejectthreshold = 1
 $sendmail_lostinputchannelthreshold = 1
 $sendmail_dummyconnectionthreshold = 1
-$sendmail_unknownhoststhreshold = 1
 $sendmail_unknownusersthreshold = 1
 $sendmail_domainerrorsthreshold = 1
 $sendmail_pregreetingthreshold = 1
 $sendmail_collecterrorthreshold = 1
 $sendmail_timeoutthreshold = 1
 $sendmail_blackholethreshold = 1
+$sendmail_badrcptthrottlethreshold = 1
+$sendmail_quarantinedthreshold = 1
 
+
 #Set this to Null to suppress the Top 10 Email Addresses
 $sendmail_tolistthreshold = 10
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net