From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 07:32:03 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 476427A2 for ; Wed, 7 Jan 2015 07:32:03 +0000 (UTC) Received: from posti.ihme.org (posti.ihme.org [217.112.252.54]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0E981CE2 for ; Wed, 7 Jan 2015 07:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ihme.org; s=ihme; h=Content-Transfer-Encoding:Content-Type:MIME-Version:To:From:Subject:Date:Message-ID; bh=C9fZAcYRy77EpH+as2FVTsc+Cq0WxL1AIoSxXfMRb6c=; b=MRXkN5JiOPt1sFoocBPd8ILqsQHjRaFVn7cNpBmIzWqD0p4BSz2APPaQ1WTv546kUPRzIz5rXFEo9ypEiTvzj8+Zw3zfgK49uW80MIwOrvGohlzsTM7lG9BZUZx1Ma0+NvoG5rHRp/wrfw3ESIR44/3GfLPTim3eKouoxj9H6TM=; Received: from localhost ([127.0.0.1] helo=posti.ihme.org) by posti.ihme.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8l5s-0007Xb-HR for freebsd-questions@freebsd.org; Wed, 07 Jan 2015 09:31:52 +0200 Received: from 85.157.28.165 (SquirrelMail authenticated user midian@ihme.org) by posti.ihme.org with HTTP; Wed, 7 Jan 2015 09:31:52 +0200 Message-ID: <5625d1cbdd8c77f70fb6515efdb5e587.squirrel@posti.ihme.org> Date: Wed, 7 Jan 2015 09:31:52 +0200 Subject: Removing useless info from daily mail From: =?iso-8859-1?Q?=22Markus_H=E4stbacka=22?= To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 07:32:03 -0000 Hello, I've been trying to reduce the incoming mail from my servers daily run. I've managed to configure periodic.conf in a way that when there's nothing wrong in the logs I get no mail. On 3 servers I still get mail with the following output: "hostname kernel log messages: +++ /tmp/security.r9GEufla 2015-01-06 03:01:08.000000000 +0200 +arp: unknown hardware address format (0x0800) (from 00:00:00:00:00:00 to 00:00:95:9a:78:99) ... ... -- End of security output --" There seems to be some brokenly configured hardware on our network which I can do nothing about. Now I'm trying to find a way to not get this mail. I edited /etc/periodic/security/700.kernelmsg to egrep the lines I don't want to have in my daily mail. But still I get the following: "hostname kernel log messages: +++ /tmp/security.rOXj53hS 2015-01-07 03:05:42.000000000 +0200 -- End of security output --" Is there a way to not get this message to dmesg (blocking it with ipfw or something?), or not to get the mail with only /tmp/security line? Thanks in advance, Markus