From patchwork Sun Sep 22 07:02:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 2417 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 46bdh06ZKGz42TG for ; Sun, 22 Sep 2019 07:02:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 46bdgz5Sbkz2PQ; Sun, 22 Sep 2019 07:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1569135776; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=OZUFkN6uff986misNtm2QUQMKdbGDP1efef5jIDhtCY=; b=Dck+CeKygRuDlY3Zbi6Asym8H9QFDgd8yoNGcH2kO2y77eTtfKDWSauLaaDV4KYAnUDaX4 5q2fmffogNvgnKxwdCeeSbveC2sdqX+dzX33SzShz/TnPs3P2H+ZgJPjL6p6oZRVw6XK2/ 5VJ9azVgXPrTIZsKMVVQbmlQ3sVW0gILpGx9I06fIyYeQC9JYhPgdUPwIZVsYDRgyNL/31 sISsAPTiTdIG6hY0EVA0So0GSDb82WeqymEeWU7rGNNn6Tlo/o97HwTQArVTjV3HW/rDld n/FUqwFhXquebYstMJ4FXPwvH3gvvrEfRusN5M360U70lKqtRUmOIqgP3u+emw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1569135776; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=OZUFkN6uff986misNtm2QUQMKdbGDP1efef5jIDhtCY=; b=H+JxwX3vbEYYGHy3DcTe/rviGNaTjvF/EkaUrJ7AMrPjkt9aXq4Q/LKN7yEIyfLBbsRuyx GEczwOQvHwN8FCDQ== Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 46bdgz3g74z2yb0; Sun, 22 Sep 2019 07:02:55 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 46bdgx3ZY3z2yZv for ; Sun, 22 Sep 2019 07:02:53 +0000 (UTC) Received: from Devel.localdomain (p4FF56DD1.dip0.t-ipconnect.de [79.245.109.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 46bdgx0vGPz2PQ for ; Sun, 22 Sep 2019 07:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1569135773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=OZUFkN6uff986misNtm2QUQMKdbGDP1efef5jIDhtCY=; b=hPilWxbgAj3GBcuU8+vznRFpti3z9R9j702ZRrwItan1H2cxzEpHVQm/9/6eAumPKUi1sL cM94/4K9ZyR8llp6FTPAUQZwR4d9lEjwDNsUJ+9oxaJXL/9tyvrgOGsfvtIjfHy1ed6PJg 0Yx0vGgGRgegcrZcTvqNsI27Aut3IYArNItv2yxWz2h4pkWecVZnJmVXM8c6TBtBl+M35c ffyBdVvJpHubNFSHAFgVcM1R/i1/WLZVosO3mJl6cnrUxVqCO9cM6Dh5ulXQEbJ8ukgnxU oIQxldq6qTnri5San3VXjmvV4fnG/cHadBJ2QmYs8PbICZRbUOJQXO1NBsiJ9w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1569135773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=OZUFkN6uff986misNtm2QUQMKdbGDP1efef5jIDhtCY=; b=RawV/bw/TOX5vwE4xQpXXVr6Adx0iCv3MYNimb+iEXxFiEB2tOgS5SyEciLj160dupQ6/o aGXnvKB+XrYGVBBg== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] Added Mail log file to '/etc/logrotate.conf' Date: Sun, 22 Sep 2019 09:02:48 +0200 Message-Id: <20190922070248.1666-1-matthias.fischer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=mfischer smtp.mailfrom=matthias.fischer@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Fixes Bug #12155: logrotate wasn't set up to rotate this file. For details see: https://bugzilla.ipfire.org/show_bug.cgi?id=12155 Signed-off-by: Matthias Fischer Acked-by: Michael Tremer --- config/etc/logrotate.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/etc/logrotate.conf b/config/etc/logrotate.conf index f15ee92c3..0b6b48573 100644 --- a/config/etc/logrotate.conf +++ b/config/etc/logrotate.conf @@ -68,7 +68,7 @@ include /etc/logrotate.d endscript } -/var/log/messages /var/log/bootlog /var/log/dhcpcd.log { +/var/log/messages /var/log/bootlog /var/log/dhcpcd.log /var/log/mail { create 664 root syslogd sharedscripts ifempty