From owner-freebsd-questions@FreeBSD.ORG Sat Oct 21 14:09:01 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 EFE5816A40F for ; Sat, 21 Oct 2006 14:09:01 +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 1245943D88 for ; Sat, 21 Oct 2006 14:08:59 +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 1GbHWx-000AHj-7p; Sat, 21 Oct 2006 16:08:55 +0200 Date: Sat, 21 Oct 2006 16:08:55 +0200 (CEST) From: Zbigniew Szalbot X-X-Sender: zbyszek@192.168.11.51 To: Bill Moran In-Reply-To: <20061021095626.72171da9.wmoran@collaborativefusion.com> Message-ID: <20061021160140.X39264@192.168.11.51> References: <20061021091555.O30081@192.168.11.51> <20061021095626.72171da9.wmoran@collaborativefusion.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: 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 14:09:02 -0000 Hello, On Sat, 21 Oct 2006, Bill Moran wrote: > Do one of the following: > 1) Configure both exim and dovecot to log through syslog with the same > facility. Then configure syslogd to put that facility in the file > you want. As FBSD is still new to me, I am trying to understand what it would involve. Exim is configured to log to /var/log/exim/mainlog. In the newsyslog.conf I have /var/log/exim/mainlog mailnull:mail 640 60 * @T00 ZC Does it mean exim uses syslogd? It is not obvious to me. If it does, how can I do the same with dovecot? In dovecot.conf I have the path pointing to /var/log/exim/mainlog. If I want to use syslogd, do I have to write to /var/log/maillog? I want to get it right using the first solution. Thank you very much for your patience with me! -- Zbigniew Szalbot