From owner-freebsd-questions@FreeBSD.ORG Sat Oct 21 07:33:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8316416A412 for ; Sat, 21 Oct 2006 07:33:36 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1D1B43D5E for ; Sat, 21 Oct 2006 07:33:35 +0000 (GMT) (envelope-from zbyszek@szalbot.homedns.org) Received: from [127.0.0.1] (helo=localhost) by lists.lc-words.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GbBMM-0007sS-3o for freebsd-questions@freebsd.org; Sat, 21 Oct 2006 09:33:34 +0200 Date: Sat, 21 Oct 2006 09:33:34 +0200 (CEST) From: Zbigniew Szalbot X-X-Sender: zbyszek@192.168.11.51 To: freebsd-questions@freebsd.org Message-ID: <20061021091555.O30081@192.168.11.51> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: log rotation, one process doesn't know about it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Oct 2006 07:33:36 -0000 Hello, I have set up dovecot to log its data to the same log as exim does. This works fine till midnight when it comes to log rotation. Then exim still logs to its log but dovecot ignores it. Now, I have done the homework, found that there is newsyslog.conf and read about flags. And I have the following entry in this file: /var/log/exim/mainlog mailnull:mail 640 60 * @T00 ZC I used to have a flag ZN but I read that the N flag actually makes syslogd ignore to inform other processes about a new file being rotated. So I removed it and left only Z, restarted syslogd, but no joy after midnight. I then added C out of sheer dispair but dovecot still ignores the new log after midnight. Could anyone suggest what I should do in order to make this work as intended? Many thanks in advance! -- Zbigniew Szalbot