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 <[EMAIL PROTECTED]> -----

> --- 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).



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to