From owner-freebsd-questions@FreeBSD.ORG Sun Mar 10 12:43:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 229851F4 for ; Sun, 10 Mar 2013 12:43:59 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 86686AFC for ; Sun, 10 Mar 2013 12:43:58 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r2AChsuq007749; Sun, 10 Mar 2013 12:43:56 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <513C800A.2030605@qeng-ho.org> Date: Sun, 10 Mar 2013 12:43:54 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130309 Thunderbird/17.0.4 MIME-Version: 1.0 To: Steve Rikli Subject: Re: periodic security always sends output mail References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 12:43:59 -0000 On 03/10/13 03:26, Steve Rikli wrote: > I would like to configure periodic on my FreeBSD servers to only send > daily/weekly/monthly/security mails (or logs) when there is something > "important" to report. > > I'm close, but periodic security seems to _always_ send mail, even > when there is nothing to report. I suspect the logic is that by always sending a mail, even if it contains nothing important, it means that when you don't get mail you should check to see what happened. Otherwise an attacker could simply prevent periodic security checks to cover up any changes made and you'd just think there was nothing important to report.