From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 06:12:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D74D016A404 for ; Thu, 27 Apr 2006 06:12:10 +0000 (UTC) (envelope-from davidn@datalinktech.com.au) Received: from mail-ihug.icp-qv1-irony4.iinet.net.au (ihug-mail.icp-qv1-irony4.iinet.net.au [203.59.1.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2434543D4C for ; Thu, 27 Apr 2006 06:12:09 +0000 (GMT) (envelope-from davidn@datalinktech.com.au) Received: from 203-206-162-119.perm.iinet.net.au (HELO mail.datalinktech.com.au) ([203.206.162.119]) by mail-ihug.icp-qv1-irony4.iinet.net.au with ESMTP; 27 Apr 2006 14:12:08 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.04,160,1143993600"; d="scan'208"; a="714353503:sNHT315699370" Received: from [192.168.4.232] ([192.168.4.232]) by mail.datalinktech.com.au with esmtp; Thu, 27 Apr 2006 16:12:06 +1000 id 00192A27.445060B6.0000EA62 Message-ID: <4450609A.9070302@datalinktech.com.au> Date: Thu, 27 Apr 2006 16:11:38 +1000 From: David Nugent User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jason References: <43501AEF.70501@codegurus.org> <6.2.3.4.0.20051014165902.084044b8@64.7.153.2> <20060426102922.E72705@mail1.jasons.us> In-Reply-To: <20060426102922.E72705@mail1.jasons.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 5.4 postfix no longer logging X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 06:12:11 -0000 jason wrote: > At some point in the last couple of weeks postfix on my 5.4-RELEASE > system stopped logging to /var/log/maillog. The only thing in there > now (and for all of the saved maillog files) is the turnover > timestamp. Any suggestions where to look? > Short answer - check: a) syslogd b) /etc/syslog.conf Long answer: syslogd is the logger daemon, and postfix will be logging through that. # /etc/rc.d/syslogd restart may fix the problem right there. Check /var/log/messages for any errors in syslogd startup. It may have crashed at some point or failed to start because of a serious syntax error in /etc/syslog.conf. If syslogd is running ok and working for the rest of the system, then double check /etc/syslog.conf to see where mail facility logging is directed (the default is /var/log/maillog, but that could have been changed or the line deleted). Check any settings in postfix for syslog "facility" (should be 'mail') and "priority" (if exists), match these against the filters in /etc/syslog.conf to make sure they are high enough to be logged.