[Logcheck-devel] Bug#402739: logcheck depends nail (Re: Bug#402739: marked as done (attaching logcheck output instead of inline inclusion))

Justin Pryzby jpryzby+d at quoininc.com
Tue Sep 25 12:47:10 UTC 2007


I think some incarnation of dependency on "nail" should be added with
with this change.

On Mon, Sep 24, 2007 at 11:06:06PM +0000, Debian Bug Tracking System wrote:
> Package: logcheck
> Version: 1.2.51
> Severity: wishlist
> Tags: patch
> 
> This patch add the ability to attach logcheck output to mails
> instead of including it inline.
> 
> ----- Forwarded message from Roland Kruggel <rkruggel at bbf7.de> -----

> --- logcheck.org        2006-11-28 19:52:15.892965000 +0100
> +++ logcheck    2006-11-28 21:01:15.467672250 +0100

> @@ -296,7 +297,11 @@ sendreport() {
>         debug "Sent report to STDOUT"
>      else
>         debug "Sending report: '$subject' to $SENDMAILTO"
> +       if [ $MAILASATTACH -eq 1 ]; then
> +       echo -e "Report at the attachment" | 
> nail -s "$subject" -a "$TMPDIR/report" "$SENDMAILTO"
> +       else
>         cat $TMPDIR/report | mail -s "$subject" "$SENDMAILTO"
> +       fi
>      fi
>  }

>    * apply patch by Rolan Kruggel which allos logcheck to be configured to
>      attach log output, rather than inlining it (closes: #402739).






More information about the Logcheck-devel mailing list