Package: logcheck
Severity: wishlist

Since logcheck processes all filter files anyway (instead of just
feeding them to egrep -f), the following may be trivial to
implement:

It would be nice if logcheck filter files would honour variables,
e.g.:

  # LEAD=^\w{3} [ :[:digit:]]{11} [-._[:alnum:]]+
  # PROCNAME_SMTPD=postfix/smtpd\[[[:digit:]]+\]
  # QUEUEID=(NOQUEUE|[[:upper:][:digit:]]+)
  # IP=([:digit:]{1,3}\.){3}[:digit:]{1,3}

  @LEAD@ @PROCNAME_SMTPD@: $QUEUEID@: reject: RCPT from @[EMAIL 
PROTECTED]@[EMAIL PROTECTED] ...

Then, it would also make sense to define a default LEAD, or default
matches for IP addresses and hostnames etc, which can be overridden.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

_______________________________________________
Logcheck-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to