From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-54198-garchives=archives.gentoo.org@gentoo.org>) id 1GfiSF-0001ov-Ft for garchives@archives.gentoo.org; Thu, 02 Nov 2006 19:42:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA2JdDUm015851; Thu, 2 Nov 2006 19:39:13 GMT Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA2JaGUN028616 for <gentoo-user@lists.gentoo.org>; Thu, 2 Nov 2006 19:36:17 GMT Received: by nz-out-0102.google.com with SMTP id 9so254632nzo for <gentoo-user@lists.gentoo.org>; Thu, 02 Nov 2006 11:36:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Y3xPIxCpWnQVPCGlRxM9e+QOEnzWDdCTPZ+9rzUe1ptsYNfiHm0JMPqf+U6jCqn1z4jkuSEySkh6Y52e8Dvo4l8sD/XoKm8bMZ8iaUHcsCBdMTKWuHTrxmqnFpyKxPe/rMV7dx167yPOFWyogPe+O2nMNGNxGuPH1u7KX5NpyMQ= Received: by 10.65.213.4 with SMTP id p4mr1336355qbq.1162496174780; Thu, 02 Nov 2006 11:36:14 -0800 (PST) Received: by 10.65.218.13 with HTTP; Thu, 2 Nov 2006 11:36:14 -0800 (PST) Message-ID: <642958cc0611021136w22fab668h97a987583ce3c766@mail.gmail.com> Date: Thu, 2 Nov 2006 14:36:14 -0500 From: "Mark Shields" <laebshade@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Tutorial for configuring syslog-ng? In-Reply-To: <1162489908.18640.9.camel@camille.espersunited.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9749_26597.1162496174490" References: <1162489908.18640.9.camel@camille.espersunited.com> X-Archives-Salt: 4ab06130-2752-4f99-8719-a02cf2b07c09 X-Archives-Hash: 405a0db8a62a9ff61d7adb0a82d2e693 ------=_Part_9749_26597.1162496174490 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/2/06, Michael Sullivan <michael@espersunited.com> wrote: > > Is there a tutorial or a guide or something for configuring syslog-ng, > preferrably with examples? I want to alter my default syslog-ng.conf to > filter mail logs to another file, but the man page doesn't make much > sense to me, and I couldn't find anything online that had examples to > show what exactly I needed to do... > > -- > gentoo-user@gentoo.org mailing list > > destination mail { file("/var/log/mail.log"); }; That should filter your mail logs. It's taken from the Gentoo Security Handbook: http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1&chap=3#doc_chap4 -- - Mark Shields ------=_Part_9749_26597.1162496174490 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/2/06, <b class="gmail_sendername">Michael Sullivan</b> <<a href="mailto:michael@espersunited.com">michael@espersunited.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Is there a tutorial or a guide or something for configuring syslog-ng,<br>preferrably with examples? I want to alter my default syslog-ng.conf to<br>filter mail logs to another file, but the man page doesn't make much<br> sense to me, and I couldn't find anything online that had examples to<br>show what exactly I needed to do...<br><br>--<br><a href="mailto:gentoo-user@gentoo.org">gentoo-user@gentoo.org</a> mailing list<br><br></blockquote> </div><br><br clear="all">destination mail { file("/var/log/mail.log"); };<br><br>That should filter your mail logs. It's taken from the Gentoo Security Handbook: <a href="http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1&chap=3#doc_chap4"> http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1&chap=3#doc_chap4</a><br>-- <br>- Mark Shields ------=_Part_9749_26597.1162496174490-- -- gentoo-user@gentoo.org mailing list