[Logwatch-Devel] suggested addition to sendmail script

Greg Matthews gmatt at nerc.ac.uk
Tue Dec 13 06:12:39 MST 2005


In the sendmail script there is provision for user-defined match filters
and reporting throught the $MatchFilter and $ReportFilter inherited from
the sendmail config file. However, this only allows reporting to
existing hashes (defined in the script). The result is that either the
user-defined filters have to increment existing counters or the script
has to modified to provide new variables.

Why not provide extra variables for use with Sendmail_MatchFilter and
Sendmail_ReportFilter by adding them to the sendmail script like:

my (%UserHash1, %UserHash2, %UserHash3...)

or similar?

This would allow users to define new filters and reporting by
modifying /etc/logwatch/conf/services/sendmail *only*.

good idea?

GREG
-- 
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford



More information about the Logwatch-Devel mailing list