From owner-freebsd-questions Wed Oct 25 0:18:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id 74BA237B479 for ; Wed, 25 Oct 2000 00:18:54 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 136081F29; Wed, 25 Oct 2000 00:18:54 -0700 (PDT) Subject: Re: postfix won't write to maillog?? In-Reply-To: <5.0.0.25.0.20001025073422.049b34c0@mail.Go2France.com> "from Len Conrad at Oct 25, 2000 07:39:59 am" To: Len Conrad Date: Wed, 25 Oct 2000 00:18:54 -0700 (PDT) Cc: freebsd-questions@freebsd.org From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001025071854.136081F29@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > one of my colleagues deleted /var/log. > > we need to see maillog, but postfix is not writing to it, although > postfix is MTA'ing just fine. > > in /var/log, ls -all gives: > > total 3 > drwxr-xr-x 2 root wheel 512 Oct 25 01:09 . > drwxr-xr-x 18 root wheel 512 Oct 25 00:50 .. > -rw-rw-r-- 1 root wheel 2 Oct 25 01:09 maillog > > we re-created maillog manually and set the permission as on another > fbsd box here. > we've started and stopped postfix, but no go. By default, Postfix doesn't write to maillog directly. It uses syslogd. Unless you've changed that, you need to tell syslogd that the log file was recreated. `killall -HUP syslogd` should do the trick. You may also want to recreate some of the other log files, namely 'messages'. Hope this helps -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. "Love is the triumph of imagination over intelligence." -- Henry Louis Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message