From owner-freebsd-questions Mon Nov 12 12:46:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from teak.adhesivemedia.com (teak.adhesivemedia.com [207.202.159.79]) by hub.freebsd.org (Postfix) with ESMTP id 9FB5637B416 for ; Mon, 12 Nov 2001 12:46:52 -0800 (PST) Received: from localhost (philip@localhost) by teak.adhesivemedia.com (8.11.6/8.11.6) with ESMTP id fACKkH331461; Mon, 12 Nov 2001 12:46:17 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Mon, 12 Nov 2001 12:46:17 -0800 (PST) From: Philip Hallstrom To: Scott Gerhardt Cc: FreeBSD Subject: Re: Logging POP3 In-Reply-To: Message-ID: <20011112124349.J31132-100000@teak.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Create a qpopper.conf file and then change your inetd to look something like this: pop3s stream tcp nowait root /usr/local/libexec/qpopper qpopper -f /usr/local/etc/qpopper/qpopper-pop3s.conf Then in qpopper.conf put: set log-facility = local1 Then in syslog.conf make it look something like this: *.notice;kern.debug;lpr.info;mail.crit;news.err;local1.none /var/log/messages local1.* /var/log/qpopper.log You will also want to add an entry to /etc/newsyslog.conf to get the logs rotated. -philip On Mon, 12 Nov 2001, Scott Gerhardt wrote: > I have qpopper set up and working fine on my FreeBSD 4.4-Release system. > I would like all POP3 logged to /var/log/pop3 instead of messages. > > I added the following (below) to my syslog.conf, touched /var/log/pop3 and > restarted syslogd but nothing gets logged to pop3 (there are no tabs in the > syslog.conf entry) > > pop3.* /var/log/pop3 > > What am I missing? > > > > > _________________________________ > > Scott Gerhardt, P.Geo. > Gerhardt Information Technologies > _________________________________ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message