From owner-freebsd-stable@FreeBSD.ORG Fri Oct 6 20:22:36 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 C009916A407 for ; Fri, 6 Oct 2006 20:22:36 +0000 (UTC) (envelope-from pokui@psg.com) Received: from mail.trueafrican.com (mail.trueafrican.com [212.88.98.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FAE543D96 for ; Fri, 6 Oct 2006 20:22:01 +0000 (GMT) (envelope-from pokui@psg.com) Received: from mail.trueafrican.com ([127.0.0.1]) by localhost (mail.trueafrican.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88226-07 for ; Fri, 6 Oct 2006 23:21:51 +0300 (EAT) Received: from andromeda.trueafrican.com (pokui.trueafrican.com [169.254.0.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.trueafrican.com (Postfix) with ESMTP id BC16C25F1AC for ; Fri, 6 Oct 2006 23:21:51 +0300 (EAT) Received: from [127.0.0.1] (helo=localhost) by andromeda.trueafrican.com with esmtp (Exim 4.62) (envelope-from ) id 1GVwBR-0003Ak-I3; Fri, 06 Oct 2006 23:20:37 +0300 From: Patrick Okui To: freebsd-stable@freebsd.org Date: Fri, 6 Oct 2006 23:20:34 +0300 User-Agent: KMail/1.8 References: <4762624a0610061300u4e31b378oaf1eb9a732913c16@mail.gmail.com> <4526B6CE.7030601@mikestammer.com> <4762624a0610061311i7f7cd11eo853029537e75dda7@mail.gmail.com> In-Reply-To: <4762624a0610061311i7f7cd11eo853029537e75dda7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610062320.35301.pokui@psg.com> X-Virus-Scanned: by amavisd-new at trueafrican.com Cc: Eric , Dominik Zalewski Subject: Re: Capture all incoming/outgoing email messages 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: Fri, 06 Oct 2006 20:22:36 -0000 On Friday 06 October 2006 23:11, Dominik Zalewski wrote: > 2006/10/6, Eric : > > Dominik Zalewski wrote: > > > Hi, > > > > > > I have a gateway/firewall running FreeBSD 6.1 -release . I would like > > > to capture all incoming and outgoing email messages to archive them. Is > > > > there > > > > > is any tool available out there ? I mean a proxy,sniffer or any other > > > solution. > > > > > >>there are ways in postfix and probably most other MTAs to make a copy > > >> of things as they are handled by the SMTP engine. check out the > > >> howtos on postfix.org or google a little and you should have plenty to > > >> go on. > > >> > > >>Eric > > I know most of MTAs can do it but I dont want users to use local MTA for > outgoing emails, plus this solution is just for outgoing emails , what > about pop3 ? > I just want to capture all smtp/pop3 traffic in packets level. man tcpdump(1) particularly the -r, -w options and the "port" primitive. -- patrick